Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.00122/0.00122, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.453/1.453, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2056/0.2056, allocations: 44.2 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3603, allocations: 60.81 MB / 0.5197 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003196/0.3635, allocations: 1.719 MB / 0.5213 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3648, allocations: 0.88 MB / 0.5222 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.3649, allocations: 1.156 kB / 0.5222 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3652, allocations: 38.03 kB / 0.5222 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.3654, allocations: 55.64 kB / 0.5223 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3657, allocations: 109.8 kB / 0.5224 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3659, allocations: 92.28 kB / 0.5225 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.366, allocations: 18.88 kB / 0.5225 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.943e-05/0.3661, allocations: 41.56 kB / 0.5225 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.3662, allocations: 26.86 kB / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3662, allocations: 3.688 kB / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.3663, allocations: 46.19 kB / 0.5226 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.3664, allocations: 19.92 kB / 0.5226 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.3664, allocations: 37.83 kB / 0.5227 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3666, allocations: 116.9 kB / 0.5228 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3667, allocations: 1.188 kB / 0.5228 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3667, allocations: 0 / 0.5228 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3667, allocations: 4 kB / 0.5228 GB, free: 1.805 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.0004917/0.3672, allocations: 416.8 kB / 0.5232 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.3672, allocations: 8.719 kB / 0.5232 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3673, allocations: 10.05 kB / 0.5232 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3675, allocations: 220 kB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3675, allocations: 1.812 kB / 0.5234 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3676, allocations: 7.891 kB / 0.5234 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3677, allocations: 61.7 kB / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3677, allocations: 0 / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3678, allocations: 0.6094 kB / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3678, allocations: 1.531 kB / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.3679, allocations: 21.98 kB / 0.5235 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.3682, allocations: 283.5 kB / 0.5238 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3684, allocations: 59.94 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.3684, allocations: 24.64 kB / 0.5238 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3685, allocations: 2.078 kB / 0.5238 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.3686, allocations: 68.91 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3686, allocations: 0 / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.3692, allocations: 184.8 kB / 0.5241 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.3692, allocations: 61.42 kB / 0.5241 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3694, allocations: 192 kB / 0.5243 GB, free: 420 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3694, allocations: 31.56 kB / 0.5244 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3695, allocations: 100.1 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3695, allocations: 22.3 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.3695, allocations: 27.02 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.3696, allocations: 325.9 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.3697, allocations: 17.33 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.3698, allocations: 47.31 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3699, allocations: 53.28 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3699, allocations: 0.5156 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.3701, allocations: 106.5 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3701, allocations: 10.06 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3702, allocations: 0 / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3702, allocations: 5.812 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.3703, allocations: 15.62 kB / 0.5251 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3703, allocations: 0 / 0.5251 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3703, allocations: 2.969 kB / 0.5251 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3704, allocations: 8.297 kB / 0.5251 GB, free: 15.78 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.0001067/0.3705, allocations: 133.8 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3705, allocations: 13.91 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.3706, allocations: 15.67 kB / 0.5252 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3706, allocations: 2.094 kB / 0.5252 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3706, allocations: 4 kB / 0.5252 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3706, allocations: 86.97 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3707, allocations: 4.641 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.3707, allocations: 6.922 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3707, allocations: 4.234 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002209/0.371, allocations: 173.9 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002917/0.3713, allocations: 287.8 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.398e-05/0.3714, allocations: 30.31 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3715, allocations: 147.4 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3715, allocations: 0 / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3729, allocations: 0.4927 MB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006589/0.3736, allocations: 0.6691 MB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.004933/0.3786, allocations: 1.755 MB / 0.5288 GB, free: 13.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches