Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, 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.001175/0.001175, 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.407/1.407, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3685, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003288/0.3719, allocations: 1.712 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3733, allocations: 0.8715 MB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.3733, allocations: 5.031 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.3737, allocations: 70.41 kB / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.374, allocations: 83.36 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3743, allocations: 109.5 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3745, allocations: 115.1 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3746, allocations: 12.44 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3747, allocations: 54.41 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3749, allocations: 54.28 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3749, allocations: 7.312 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.375, allocations: 42.33 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.3751, allocations: 21.09 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.3751, allocations: 33.8 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3754, allocations: 126.8 kB / 0.5229 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3754, allocations: 0.7031 kB / 0.5229 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3754, allocations: 0 / 0.5229 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3754, allocations: 0.875 kB / 0.5229 GB, free: 1.516 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.0005645/0.376, allocations: 425.2 kB / 0.5233 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3761, allocations: 13.77 kB / 0.5233 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.3761, allocations: 13.25 kB / 0.5233 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3765, allocations: 203.9 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3765, allocations: 2.5 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.3765, allocations: 18.38 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3767, allocations: 54.41 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3767, allocations: 0 / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3767, allocations: 5.891 kB / 0.5236 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3767, allocations: 0 / 0.5236 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.3768, allocations: 23.17 kB / 0.5236 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3772, allocations: 291.5 kB / 0.5239 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3774, allocations: 65.72 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.3775, allocations: 18.81 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3775, allocations: 5.125 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3777, allocations: 66.33 kB / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.3777, allocations: 0 / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.3783, allocations: 177.6 kB / 0.5242 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3784, allocations: 53.62 kB / 0.5243 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3786, allocations: 210.1 kB / 0.5245 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3786, allocations: 30.39 kB / 0.5245 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.3787, allocations: 109.2 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.3788, allocations: 22.11 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.3788, allocations: 26.34 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.379, allocations: 326.5 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.3791, allocations: 22.06 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.3792, allocations: 43.05 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3793, allocations: 60.88 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3793, allocations: 2.016 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.3795, allocations: 109.4 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3796, allocations: 8.125 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3796, allocations: 0.6562 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3796, allocations: 2.031 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.3797, allocations: 14.23 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3797, allocations: 1.906 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.3798, allocations: 2.484 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3798, allocations: 16.02 kB / 0.5252 GB, free: 15.46 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.0001032/0.3799, allocations: 123.1 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3799, allocations: 17.78 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.38, allocations: 17.64 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.38, allocations: 0.7031 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.38, allocations: 0 / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.38, allocations: 88.77 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3801, allocations: 6.703 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.3801, allocations: 6 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.3802, allocations: 5.203 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002228/0.3804, allocations: 171.3 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003706/0.3808, allocations: 284.8 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.878e-05/0.3809, allocations: 28.92 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.381, allocations: 156.7 kB / 0.5261 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.381, allocations: 4 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3824, allocations: 489.4 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007045/0.3831, allocations: 0.6949 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.005615/0.3887, allocations: 1.766 MB / 0.529 GB, free: 13.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches