Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 113.8 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.001022/0.001022, allocations: 190 kB / 19.39 MB, free: 3.688 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.403/1.403, 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.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 60.82 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003163/0.3624, allocations: 1.672 MB / 0.5213 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3639, allocations: 0.8504 MB / 0.5221 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.364, allocations: 9.188 kB / 0.5221 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.3643, allocations: 59.78 kB / 0.5222 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.3646, allocations: 61.81 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3649, allocations: 110.5 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3651, allocations: 96.14 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.3652, allocations: 4.625 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3653, allocations: 50.95 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3654, allocations: 40.58 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3654, allocations: 6.25 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.3655, allocations: 33.98 kB / 0.5226 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.3656, allocations: 21.91 kB / 0.5226 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.3656, allocations: 28.56 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3658, allocations: 101 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3658, allocations: 0 / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3658, allocations: 0.75 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3659, allocations: 0 / 0.5227 GB, free: 1.621 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004781/0.3663, allocations: 403.6 kB / 0.5231 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.3664, allocations: 13.09 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.3664, allocations: 10.3 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3667, allocations: 209.3 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3667, allocations: 2.078 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3667, allocations: 9.266 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3669, allocations: 47.06 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3669, allocations: 0 / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3669, allocations: 5.875 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3669, allocations: 0 / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/0.367, allocations: 14.69 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3671, allocations: 183.2 kB / 0.5236 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3673, allocations: 53.48 kB / 0.5236 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.3674, allocations: 23 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3674, allocations: 1.688 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3676, allocations: 71.77 kB / 0.5237 GB, free: 0.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3676, allocations: 3.938 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002876/0.3679, allocations: 104.3 kB / 0.5238 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3679, allocations: 52.53 kB / 0.5239 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3681, allocations: 190.5 kB / 0.524 GB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3681, allocations: 27.14 kB / 0.5241 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.3681, allocations: 98.78 kB / 0.5242 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3682, allocations: 20.22 kB / 0.5242 GB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.3682, allocations: 24.22 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3683, allocations: 321.1 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.3684, allocations: 13.47 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.3685, allocations: 26.48 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3686, allocations: 46.48 kB / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3686, allocations: 4 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.3688, allocations: 80.53 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3688, allocations: 6.016 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3688, allocations: 1.25 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3688, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.3689, allocations: 14.88 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3689, allocations: 1.062 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.369, allocations: 6.875 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.369, allocations: 2.922 kB / 0.5247 GB, free: 15.77 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 (7): * Single equations (assignments): 7 * 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.0001054/0.3691, allocations: 124.5 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3691, allocations: 18.03 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.3692, allocations: 13 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3692, allocations: 2.062 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3692, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3692, allocations: 84.02 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3693, allocations: 2.234 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.3693, allocations: 6.938 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.3693, allocations: 7.656 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002004/0.3695, allocations: 161.6 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002387/0.3698, allocations: 254.5 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.032e-05/0.3699, allocations: 16.78 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.37, allocations: 142.4 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.37, allocations: 1.375 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.3712, allocations: 433.4 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006581/0.3719, allocations: 0.6513 MB / 0.5265 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.004762/0.3767, allocations: 1.507 MB / 0.528 GB, free: 13.87 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches