Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 113.9 kB / 18.46 MB, free: 4.609 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.001816/0.001816, allocations: 186.1 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.316/1.316, 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.2076/0.2076, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3296, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002706/0.3324, allocations: 1.73 MB / 0.5214 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3336, allocations: 0.8761 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.3337, allocations: 5.219 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.3341, allocations: 100.9 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.3343, allocations: 85.7 kB / 0.5224 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.3346, allocations: 113.7 kB / 0.5225 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3348, allocations: 121.7 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3349, allocations: 21.33 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.335, allocations: 53.59 kB / 0.5227 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3351, allocations: 63.59 kB / 0.5228 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3352, allocations: 4.562 kB / 0.5228 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3353, allocations: 59.14 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.3354, allocations: 29.31 kB / 0.5228 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.3354, allocations: 43.22 kB / 0.5229 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3357, allocations: 142.8 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3357, allocations: 0 / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3357, allocations: 1.156 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3357, allocations: 0 / 0.523 GB, free: 1.492 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.0005122/0.3362, allocations: 437.9 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3363, allocations: 9.375 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3363, allocations: 11.78 kB / 0.5235 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3366, allocations: 222.3 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3366, allocations: 5.469 kB / 0.5237 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3366, allocations: 8.281 kB / 0.5237 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3368, allocations: 62.03 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3368, allocations: 0 / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3368, allocations: 8.922 kB / 0.5237 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3368, allocations: 1.969 kB / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.3369, allocations: 23.75 kB / 0.5238 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3373, allocations: 314.5 kB / 0.5241 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.3375, allocations: 64.19 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.3376, allocations: 21.78 kB / 0.5242 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3376, allocations: 1.578 kB / 0.5242 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.3378, allocations: 68.8 kB / 0.5242 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.3378, allocations: 0 / 0.5242 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007632/0.3385, allocations: 248.5 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3386, allocations: 53.23 kB / 0.5245 GB, free: 184 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3388, allocations: 242.5 kB / 0.5247 GB, free: 40 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3388, allocations: 27.83 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.3389, allocations: 114.8 kB / 0.5249 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3389, allocations: 32.06 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.339, allocations: 27.62 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3391, allocations: 328.9 kB / 0.5252 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.3392, allocations: 30.17 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.3393, allocations: 49.23 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3394, allocations: 83.27 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3394, allocations: 0 / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002531/0.3397, allocations: 123.9 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3397, allocations: 12 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3397, allocations: 0 / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3398, allocations: 2.688 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.3398, allocations: 28.72 kB / 0.5256 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3399, allocations: 3.938 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.3399, allocations: 2.594 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3399, allocations: 4.172 kB / 0.5256 GB, free: 15.36 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.0001131/0.34, allocations: 133.5 kB / 0.5257 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.3401, allocations: 18.06 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3401, allocations: 23.23 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3402, allocations: 0.6562 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3402, allocations: 3.906 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.3402, allocations: 93.5 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3402, allocations: 4.281 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.3403, allocations: 5.625 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3403, allocations: 11.83 kB / 0.5259 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002594/0.3406, allocations: 192.7 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002934/0.3409, allocations: 308.7 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.559e-05/0.341, allocations: 43.19 kB / 0.5264 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3412, allocations: 182.2 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3412, allocations: 0 / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.3428, allocations: 0.5592 MB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007034/0.3435, allocations: 0.7073 MB / 0.5278 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.005112/0.3486, allocations: 2.059 MB / 0.5298 GB, free: 12.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches