Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 75.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3313, allocations: 66.04 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003312/0.3346, allocations: 1.706 MB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3364, allocations: 0.9715 MB / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.3365, allocations: 0 / 0.5645 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3368, allocations: 43.77 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.3371, allocations: 99.59 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.3373, allocations: 83.66 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3375, allocations: 103.6 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.3376, allocations: 8 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.3377, allocations: 51.72 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.3378, allocations: 35.78 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3378, allocations: 4 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.3379, allocations: 39.98 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.3379, allocations: 23.91 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.338, allocations: 27.75 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3382, allocations: 125.9 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3382, allocations: 3.984 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3382, allocations: 0 / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3382, allocations: 0 / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005628/0.3388, allocations: 349.5 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3388, allocations: 8.031 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3389, allocations: 12.88 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3392, allocations: 151 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3392, allocations: 4.375 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.3392, allocations: 8.125 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3394, allocations: 57.61 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3394, allocations: 4 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3394, allocations: 0 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3394, allocations: 0 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.3395, allocations: 23.98 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.3398, allocations: 232.5 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.34, allocations: 54.61 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.3401, allocations: 24.84 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3401, allocations: 0 / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3402, allocations: 67.39 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3402, allocations: 0 / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.3408, allocations: 185.3 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3409, allocations: 55.41 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3411, allocations: 198.3 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3411, allocations: 29.7 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.3412, allocations: 108.1 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.3412, allocations: 31.77 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.3412, allocations: 21.72 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3414, allocations: 326.8 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.3415, allocations: 23.98 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.3415, allocations: 45.58 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3417, allocations: 61.7 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3417, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.3419, allocations: 105.5 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3419, allocations: 11.92 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3419, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3419, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.342, allocations: 12.38 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.342, allocations: 0 / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.3421, allocations: 7.984 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3421, allocations: 8.031 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.3422, allocations: 140.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3422, allocations: 11.91 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3425, allocations: 123 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3425, allocations: 4 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3425, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3425, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.343, allocations: 347.1 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.343, allocations: 0 / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.343, allocations: 20.02 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.343, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.343, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.343, allocations: 4.078 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.343, allocations: 7.922 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3433, allocations: 216.2 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.3433, allocations: 11.95 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3434, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.3434, allocations: 4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3435, allocations: 7.922 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3435, allocations: 8 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3436, allocations: 160.6 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3439, allocations: 23.94 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0019/0.3458, allocations: 0.49 MB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.346, allocations: 55.98 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.346, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.3461, allocations: 27.92 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3465, allocations: 35.91 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.347, allocations: 272.4 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.3471, allocations: 96.25 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.3471, allocations: 15.44 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3471, allocations: 0 / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of Templates: time 0.004276/0.3514, allocations: 2.004 MB / 0.5712 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.060108673758805]