Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 110.5 kB / 18.45 MB, free: 4.598 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.001764/0.001764, allocations: 187.2 kB / 19.39 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.416/1.416, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2162/0.2162, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3779, allocations: 60.83 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00355/0.3814, allocations: 1.715 MB / 0.5214 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3828, allocations: 0.8799 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.3829, allocations: 1.25 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3832, allocations: 81.11 kB / 0.5223 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.3835, allocations: 86.22 kB / 0.5224 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3838, allocations: 113.9 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.384, allocations: 118.3 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3841, allocations: 25.75 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.3842, allocations: 56.92 kB / 0.5227 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3843, allocations: 60.17 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3843, allocations: 4.281 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3845, allocations: 58.48 kB / 0.5228 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.3845, allocations: 22.08 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.3846, allocations: 42.53 kB / 0.5229 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3848, allocations: 145.2 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3849, allocations: 0 / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3849, allocations: 0 / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3849, allocations: 0 / 0.523 GB, free: 1.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005279/0.3854, allocations: 437.8 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3855, allocations: 9.484 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.3855, allocations: 11.33 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3858, allocations: 225.1 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3858, allocations: 1.375 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3859, allocations: 7.781 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.386, allocations: 61.56 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.386, allocations: 4.547 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3861, allocations: 5.188 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3861, allocations: 1.156 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.3862, allocations: 21.22 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.3865, allocations: 306.8 kB / 0.524 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.3868, allocations: 62.75 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.3868, allocations: 21.62 kB / 0.5241 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3868, allocations: 1.25 kB / 0.5241 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.387, allocations: 72 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.387, allocations: 4 kB / 0.5242 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007138/0.3877, allocations: 247.9 kB / 0.5244 GB, free: 260 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.3878, allocations: 53.44 kB / 0.5245 GB, free: 196 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.388, allocations: 226.7 kB / 0.5247 GB, free: 48 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.388, allocations: 32.42 kB / 0.5247 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3881, allocations: 109.8 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3881, allocations: 35.64 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3882, allocations: 32.08 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3883, allocations: 328.9 kB / 0.5252 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.3884, allocations: 25.31 kB / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.3885, allocations: 45.75 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3886, allocations: 76.31 kB / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3886, allocations: 0 / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.3889, allocations: 133.6 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3889, allocations: 8.797 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3889, allocations: 1.406 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3889, allocations: 0 / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.389, allocations: 24.73 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.389, allocations: 6.641 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.3891, allocations: 1.5 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3891, allocations: 4.609 kB / 0.5255 GB, free: 15.37 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 (13): * Single equations (assignments): 13 * 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.0001124/0.3892, allocations: 133.9 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.3892, allocations: 14.97 kB / 0.5257 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.3893, allocations: 17.3 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3893, allocations: 2.578 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3893, allocations: 0 / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3894, allocations: 97.44 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3894, allocations: 1.969 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.3895, allocations: 6.297 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3895, allocations: 7.156 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002817/0.3898, allocations: 211.2 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003021/0.3901, allocations: 304.9 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.778e-05/0.3902, allocations: 34.19 kB / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3903, allocations: 178.6 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3904, allocations: 1.375 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3919, allocations: 0.5508 MB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007873/0.3927, allocations: 0.6988 MB / 0.5277 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005477/0.3981, allocations: 2.051 MB / 0.5297 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches