Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 86.56 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2112/0.2112, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.475e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 58.86 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5916, allocations: 86.96 MB / 0.5509 GB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.5919, allocations: 76.44 kB / 0.5509 GB, free: 7.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.6043, allocations: 5.402 MB / 0.5562 GB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.6043, allocations: 0 / 0.5562 GB, free: 3.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6044, allocations: 7.938 kB / 0.5562 GB, free: 3.699 MB / 362.7 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.0003703/0.6047, allocations: 397.7 kB / 0.5566 GB, free: 3.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6048, allocations: 12.03 kB / 0.5566 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.6049, allocations: 11.81 kB / 0.5566 GB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.6051, allocations: 218.3 kB / 0.5568 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6051, allocations: 3.938 kB / 0.5568 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.6052, allocations: 4 kB / 0.5568 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.265e-05/0.6052, allocations: 18.73 kB / 0.5569 GB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.6053, allocations: 56.67 kB / 0.5569 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.6053, allocations: 0 / 0.5569 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.6054, allocations: 0 / 0.5569 GB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.6054, allocations: 4 kB / 0.5569 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.6057, allocations: 267.2 kB / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.6058, allocations: 49.69 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.6058, allocations: 16.67 kB / 0.5572 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.6058, allocations: 3.203 kB / 0.5572 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.606, allocations: 70.39 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.606, allocations: 0 / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003883/0.6064, allocations: 145.9 kB / 0.5574 GB, free: 2.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.6064, allocations: 55.34 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.6065, allocations: 190.4 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.6066, allocations: 25.7 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.6066, allocations: 101.9 kB / 0.5578 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6066, allocations: 23.22 kB / 0.5578 GB, free: 2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.6066, allocations: 4 kB / 0.5578 GB, free: 1.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.6067, allocations: 325.8 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.6067, allocations: 19.12 kB / 0.5582 GB, free: 1.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.6068, allocations: 32.95 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.6068, allocations: 22.98 kB / 0.5582 GB, free: 1.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6068, allocations: 0 / 0.5582 GB, free: 1.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.607, allocations: 95.11 kB / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.607, allocations: 8.031 kB / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.607, allocations: 0 / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.607, allocations: 4 kB / 0.5583 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.6071, allocations: 16.17 kB / 0.5583 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6071, allocations: 0 / 0.5583 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.6072, allocations: 8 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.6072, allocations: 7.953 kB / 0.5583 GB, free: 1.492 MB / 362.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.6073, allocations: 102.4 kB / 0.5584 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6073, allocations: 15.81 kB / 0.5585 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.6075, allocations: 121.1 kB / 0.5586 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6075, allocations: 0 / 0.5586 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6075, allocations: 0 / 0.5586 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6075, allocations: 0 / 0.5586 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.6078, allocations: 380.9 kB / 0.5589 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6078, allocations: 4 kB / 0.5589 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.6079, allocations: 11.98 kB / 0.5589 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6079, allocations: 4.031 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6079, allocations: 7.938 kB / 0.559 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6079, allocations: 0 / 0.559 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6079, allocations: 0 / 0.559 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.6081, allocations: 216.4 kB / 0.5592 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.6081, allocations: 93 kB / 0.5593 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.6081, allocations: 11.36 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.6082, allocations: 4 kB / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.6083, allocations: 15.88 kB / 0.5593 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.6083, allocations: 0 / 0.5593 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.6084, allocations: 146.1 kB / 0.5594 GB, free: 396 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6084, allocations: 0 / 0.5594 GB, free: 396 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.6086, allocations: 31.88 kB / 0.5595 GB, free: 368 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007917/0.6094, allocations: 381.5 kB / 0.5598 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.6096, allocations: 57.8 kB / 0.5599 GB, free: 0 / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6096, allocations: 4.109 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.6097, allocations: 30.56 kB / 0.5599 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.6099, allocations: 24.22 kB / 0.5599 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.6103, allocations: 166.6 kB / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.6106, allocations: 0.7116 MB / 0.5608 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.6107, allocations: 20.61 kB / 0.5608 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.6107, allocations: 15.44 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6107, allocations: 0 / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004158/0.6149, allocations: 1.639 MB / 0.5624 GB, free: 13.39 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches