Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 110.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 187.2 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3517, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002758/0.3545, allocations: 1.711 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3557, allocations: 0.8764 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.3558, allocations: 5.156 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3561, allocations: 38.73 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3563, allocations: 56.17 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.3566, allocations: 109.1 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3568, allocations: 95.69 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.357, allocations: 20.05 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3571, allocations: 41.86 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3572, allocations: 30.14 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3572, allocations: 3.25 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3573, allocations: 43.31 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.3574, allocations: 19 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.3574, allocations: 38.34 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3577, allocations: 113.4 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3577, allocations: 4 kB / 0.5228 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3577, allocations: 3.938 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3577, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.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.00054/0.3583, allocations: 424.9 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3583, allocations: 8.5 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.3584, allocations: 11.11 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3587, allocations: 211.7 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3587, allocations: 2.219 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3587, allocations: 10.5 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3589, allocations: 53.89 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3589, allocations: 0 / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3589, allocations: 9.688 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3589, allocations: 1.312 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.585e-05/0.359, allocations: 18.08 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.3593, allocations: 282.5 kB / 0.5238 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3595, allocations: 60.31 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.3596, allocations: 25.62 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3596, allocations: 1.875 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.3598, allocations: 65.38 kB / 0.5239 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3598, allocations: 0 / 0.5239 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005684/0.3603, allocations: 187.6 kB / 0.5241 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.3604, allocations: 57.92 kB / 0.5241 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3606, allocations: 196.4 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3606, allocations: 27.11 kB / 0.5244 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3606, allocations: 100.7 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3607, allocations: 21.81 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.3607, allocations: 25.14 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3609, allocations: 327.7 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.361, allocations: 25.2 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.3611, allocations: 39.59 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3612, allocations: 57.58 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3612, allocations: 0 / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.3614, allocations: 113.7 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3614, allocations: 5.781 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3614, allocations: 8.953 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3615, allocations: 1.188 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.3616, allocations: 14.89 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3616, allocations: 1.609 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.3616, allocations: 10.8 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3616, allocations: 6.969 kB / 0.5251 GB, free: 15.49 MB / 398.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.0001098/0.3618, allocations: 129.5 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3618, allocations: 14.75 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.3618, allocations: 16.34 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3619, allocations: 4.75 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3619, allocations: 5.938 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3619, allocations: 83.53 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3619, allocations: 10.5 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.362, allocations: 3.188 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.362, allocations: 3.781 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002295/0.3623, allocations: 171 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002582/0.3625, allocations: 287.6 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.277e-05/0.3626, allocations: 26.23 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3628, allocations: 151.4 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3628, allocations: 0 / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3643, allocations: 490.9 kB / 0.5264 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008238/0.3651, allocations: 0.6713 MB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004896/0.37, allocations: 1.752 MB / 0.5288 GB, free: 13.4 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches