Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001347, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009764/0.0009764, allocations: 104.8 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3796/0.3796, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3426, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00288/0.3456, allocations: 1.815 MB / 0.5169 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3469, allocations: 1.026 MB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.3469, allocations: 0 / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3472, allocations: 104.2 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.3475, allocations: 121 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3477, allocations: 95.08 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3478, allocations: 130.7 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.3479, allocations: 9.172 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.348, allocations: 64.72 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.3481, allocations: 67.45 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3481, allocations: 2.844 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.3482, allocations: 58.11 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.3482, allocations: 33.94 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3483, allocations: 47.5 kB / 0.5186 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3484, allocations: 149.3 kB / 0.5188 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3484, allocations: 3.938 kB / 0.5188 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.3484, allocations: 0 / 0.5188 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3485, allocations: 0 / 0.5188 GB, free: 35.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004019/0.3489, allocations: 448.5 kB / 0.5192 GB, free: 35.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3489, allocations: 12.34 kB / 0.5192 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3489, allocations: 14.22 kB / 0.5192 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3491, allocations: 233.6 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3491, allocations: 3.406 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3492, allocations: 11.09 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.3493, allocations: 65.28 kB / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3493, allocations: 0 / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3493, allocations: 7.125 kB / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.3493, allocations: 3.031 kB / 0.5195 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.3494, allocations: 32.7 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.3497, allocations: 321.8 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3499, allocations: 74.86 kB / 0.52 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.35, allocations: 31.8 kB / 0.52 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.35, allocations: 0 / 0.52 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3501, allocations: 70.55 kB / 0.52 GB, free: 34.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.3501, allocations: 4 kB / 0.5201 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006157/0.3508, allocations: 278.1 kB / 0.5203 GB, free: 34.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.3508, allocations: 57.97 kB / 0.5204 GB, free: 34.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.351, allocations: 256.4 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.351, allocations: 25.7 kB / 0.5206 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.351, allocations: 114.8 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3511, allocations: 38.16 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3511, allocations: 33.98 kB / 0.5208 GB, free: 33.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.3512, allocations: 332.1 kB / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.3512, allocations: 36.55 kB / 0.5212 GB, free: 33.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.3513, allocations: 53.12 kB / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3514, allocations: 90.55 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3515, allocations: 0 / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001933/0.3517, allocations: 148.2 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.3517, allocations: 2.875 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3517, allocations: 2.844 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.3517, allocations: 0 / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.3518, allocations: 27.61 kB / 0.5215 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.3518, allocations: 3.938 kB / 0.5215 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.3518, allocations: 3.031 kB / 0.5215 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3518, allocations: 6.281 kB / 0.5215 GB, free: 33.25 MB / 378.7 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 (14): * Single equations (assignments): 14 * 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 7.136e-05/0.3519, allocations: 141.3 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3519, allocations: 16.62 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.352, allocations: 21.56 kB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.352, allocations: 0 / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.352, allocations: 3.938 kB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.352, allocations: 6.938 kB / 0.5217 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3524, allocations: 479.8 kB / 0.5221 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3525, allocations: 2.844 kB / 0.5221 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.3525, allocations: 20.59 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3525, allocations: 0 / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3525, allocations: 2.594 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3525, allocations: 3.281 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3525, allocations: 3.375 kB / 0.5222 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.3529, allocations: 0.853 MB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.353, allocations: 94.7 kB / 0.5231 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.353, allocations: 2.906 kB / 0.5231 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3531, allocations: 0 / 0.5231 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.3531, allocations: 20.94 kB / 0.5231 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3531, allocations: 8.734 kB / 0.5231 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.3532, allocations: 200.3 kB / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 0 / 0.5233 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000335/0.3536, allocations: 34.66 kB / 0.5233 GB, free: 31.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009435/0.3545, allocations: 0.5061 MB / 0.5238 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3547, allocations: 94.66 kB / 0.5239 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3547, allocations: 0 / 0.5239 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.769e-05/0.3548, allocations: 46.47 kB / 0.524 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3551, allocations: 34.69 kB / 0.524 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3556, allocations: 493.2 kB / 0.5245 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.3557, allocations: 0.7251 MB / 0.5252 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.3558, allocations: 26.28 kB / 0.5252 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.3559, allocations: 22.81 kB / 0.5252 GB, free: 30.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3559, allocations: 0 / 0.5252 GB, free: 30.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003557/0.3594, allocations: 2.067 MB / 0.5273 GB, free: 30.03 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches