Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001745/0.001745, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.399/1.399, allocations: 222.9 MB / 242.4 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.2136/0.2136, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3847, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003302/0.388, allocations: 1.916 MB / 0.5208 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3895, allocations: 0.9162 MB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3896, allocations: 2.469 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.3899, allocations: 41.84 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3902, allocations: 62.83 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.3906, allocations: 126.6 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3908, allocations: 138.3 kB / 0.5221 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3909, allocations: 32.95 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3911, allocations: 60.05 kB / 0.5222 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3912, allocations: 46.03 kB / 0.5222 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3912, allocations: 6.812 kB / 0.5222 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3913, allocations: 46.19 kB / 0.5223 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.3914, allocations: 30.75 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.3915, allocations: 50.84 kB / 0.5223 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3918, allocations: 149.1 kB / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3918, allocations: 0 / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3918, allocations: 1.125 kB / 0.5225 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3918, allocations: 0 / 0.5225 GB, free: 1.262 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006206/0.3924, allocations: 479.4 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3925, allocations: 9.531 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.3925, allocations: 19.97 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3928, allocations: 233.6 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3928, allocations: 3.188 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.3928, allocations: 13.39 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3931, allocations: 108.8 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3931, allocations: 0 / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3931, allocations: 1.672 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3931, allocations: 2.219 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3933, allocations: 55.14 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.3939, allocations: 0.5037 MB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.3943, allocations: 95.44 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3944, allocations: 36.95 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3944, allocations: 1.766 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.3946, allocations: 81.75 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.3946, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004528/0.3951, allocations: 147.7 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3952, allocations: 57.53 kB / 0.5243 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3954, allocations: 191.9 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3954, allocations: 34.52 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.3955, allocations: 111.5 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3956, allocations: 33.09 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.3956, allocations: 24.78 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3958, allocations: 333.5 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.3959, allocations: 26.84 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.396, allocations: 64.05 kB / 0.525 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3962, allocations: 99.25 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3962, allocations: 1.688 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.3965, allocations: 131.7 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3965, allocations: 9.922 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3965, allocations: 2.812 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3966, allocations: 4 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3967, allocations: 34.88 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3967, allocations: 1.375 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.3968, allocations: 6.859 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3968, allocations: 8.219 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001238/0.3969, allocations: 132.1 kB / 0.5255 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.397, allocations: 15.84 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.397, allocations: 19.19 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.397, allocations: 9.188 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.397, allocations: 0.9688 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3971, allocations: 4.547 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3973, allocations: 206 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3973, allocations: 0.7969 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.3974, allocations: 15.66 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3974, allocations: 1.156 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3974, allocations: 6.109 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3974, allocations: 5.281 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3974, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3978, allocations: 182.2 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.3979, allocations: 89.34 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3979, allocations: 1.828 kB / 0.526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.398, allocations: 17.91 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3981, allocations: 6.422 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3981, allocations: 4.062 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3982, allocations: 142 kB / 0.5262 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3982, allocations: 1.156 kB / 0.5262 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3985, allocations: 28.69 kB / 0.5262 GB, free: 14.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3996, allocations: 411.7 kB / 0.5266 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3999, allocations: 78.86 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3999, allocations: 4.25 kB / 0.5267 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4, allocations: 39.45 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.4004, allocations: 42.94 kB / 0.5267 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.4011, allocations: 248 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4015, allocations: 0.7227 MB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.4016, allocations: 15.55 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.4016, allocations: 17.02 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4016, allocations: 0 / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Templates: time 0.005701/0.4073, allocations: 1.941 MB / 0.5296 GB, free: 12.2 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches