Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001243/0.001243, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.384/1.384, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002787/0.3486, allocations: 1.711 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3503, allocations: 1.488 MB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3503, allocations: 1.062 kB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.3506, allocations: 40.36 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3508, allocations: 55.7 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3511, allocations: 113.2 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3513, allocations: 100.7 kB / 0.5231 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.3514, allocations: 16.69 kB / 0.5231 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.3514, allocations: 42.19 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.3516, allocations: 34.86 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3516, allocations: 4.094 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3517, allocations: 59.53 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.3518, allocations: 22.62 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3518, allocations: 30.38 kB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3521, allocations: 125.5 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3521, allocations: 0 / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3521, allocations: 0.6562 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3521, allocations: 0 / 0.5234 GB, free: 1.082 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.0004396/0.3525, allocations: 399.6 kB / 0.5238 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3526, allocations: 8 kB / 0.5238 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3526, allocations: 9.25 kB / 0.5238 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3528, allocations: 210.2 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3529, allocations: 1.531 kB / 0.524 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3529, allocations: 6.797 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.353, allocations: 79.56 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3531, allocations: 0 / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3531, allocations: 5.219 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3531, allocations: 0 / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.3532, allocations: 18.41 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.3534, allocations: 280.8 kB / 0.5244 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3536, allocations: 60.67 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.3537, allocations: 19.89 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3537, allocations: 4 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3538, allocations: 66.86 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3539, allocations: 0 / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.3544, allocations: 167.3 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3544, allocations: 83.27 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3546, allocations: 153.2 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3546, allocations: 30.92 kB / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.3546, allocations: 93.75 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3547, allocations: 29.42 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3547, allocations: 23.55 kB / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3549, allocations: 324.1 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.3549, allocations: 22.05 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.355, allocations: 53.58 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3551, allocations: 61.31 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3551, allocations: 1.5 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.3553, allocations: 96.56 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3553, allocations: 5 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3553, allocations: 0.6094 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3554, allocations: 5.281 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.3554, allocations: 15.78 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3555, allocations: 1.5 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.3555, allocations: 6.266 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3555, allocations: 7.484 kB / 0.5256 GB, free: 15.05 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 9.188e-05/0.3556, allocations: 121 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3557, allocations: 10.58 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.3557, allocations: 12.59 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3557, allocations: 1.797 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3557, allocations: 7.984 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.3558, allocations: 84.78 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.3558, allocations: 10.39 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.3558, allocations: 6.062 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.3559, allocations: 5.203 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002167/0.3561, allocations: 175.7 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002441/0.3564, allocations: 273.9 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.34e-05/0.3564, allocations: 31.28 kB / 0.5263 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.3565, allocations: 115.6 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3565, allocations: 0 / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.358, allocations: 0.5168 MB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005749/0.3586, allocations: 0.6486 MB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.004503/0.3631, allocations: 2.007 MB / 0.5296 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches