Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009745/0.0009746, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2339/0.2339, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.5152, allocations: 87.71 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5155, allocations: 80.36 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.5306, allocations: 5.428 MB / 0.5698 GB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5306, allocations: 0 / 0.5698 GB, free: 7.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.5307, allocations: 4 kB / 0.5698 GB, free: 7.496 MB / 378.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.0007563/0.5314, allocations: 428.3 kB / 0.5702 GB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5315, allocations: 8.031 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.5316, allocations: 11.81 kB / 0.5702 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5319, allocations: 218.4 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5319, allocations: 11.19 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.532, allocations: 0 / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.5321, allocations: 52.98 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5321, allocations: 0 / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5322, allocations: 7.984 kB / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5322, allocations: 0 / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.5323, allocations: 26.86 kB / 0.5705 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.5327, allocations: 298.4 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.5329, allocations: 56.86 kB / 0.5709 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.5329, allocations: 3.938 kB / 0.5709 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.5331, allocations: 71.14 kB / 0.5709 GB, free: 6.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.5331, allocations: 0 / 0.5709 GB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006412/0.5338, allocations: 182.9 kB / 0.5711 GB, free: 6.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.5338, allocations: 59.34 kB / 0.5712 GB, free: 6.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5341, allocations: 176.3 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5341, allocations: 29.7 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.5342, allocations: 105.2 kB / 0.5715 GB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.5342, allocations: 27.2 kB / 0.5715 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5343, allocations: 0 / 0.5715 GB, free: 5.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5344, allocations: 326 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.5345, allocations: 19.19 kB / 0.5718 GB, free: 5.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.5346, allocations: 39.56 kB / 0.5719 GB, free: 5.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.5346, allocations: 22.06 kB / 0.5719 GB, free: 5.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5347, allocations: 192 / 0.5719 GB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.5349, allocations: 105.8 kB / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5349, allocations: 10.59 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5349, allocations: 0 / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5349, allocations: 8.031 kB / 0.572 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.535, allocations: 19.31 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.535, allocations: 0 / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.5351, allocations: 11.94 kB / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5351, allocations: 4 kB / 0.572 GB, free: 5.176 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.5352, allocations: 124.5 kB / 0.5722 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.5353, allocations: 15.81 kB / 0.5722 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5356, allocations: 124.6 kB / 0.5723 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5356, allocations: 4 kB / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5356, allocations: 0 / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5356, allocations: 0 / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.5361, allocations: 414.1 kB / 0.5727 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5361, allocations: 384 / 0.5727 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.5362, allocations: 11.98 kB / 0.5727 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5362, allocations: 0 / 0.5727 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5362, allocations: 11.06 kB / 0.5727 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5362, allocations: 7.984 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5362, allocations: 0 / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.5365, allocations: 225.9 kB / 0.5729 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.5366, allocations: 94.81 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.5366, allocations: 5.453 kB / 0.573 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.5367, allocations: 13.36 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.5367, allocations: 8.625 kB / 0.573 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.5368, allocations: 4.562 kB / 0.5731 GB, free: 4.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.5369, allocations: 154.4 kB / 0.5732 GB, free: 3.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5369, allocations: 0 / 0.5732 GB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.5372, allocations: 35.61 kB / 0.5732 GB, free: 3.945 MB / 378.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) * 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 (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.001062/0.5383, allocations: 472.6 kB / 0.5737 GB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5385, allocations: 66.97 kB / 0.5737 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5385, allocations: 0 / 0.5737 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.5386, allocations: 31.73 kB / 0.5738 GB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5388, allocations: 36.52 kB / 0.5738 GB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.5393, allocations: 251.7 kB / 0.5741 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5396, allocations: 0.7121 MB / 0.5747 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.5397, allocations: 12.55 kB / 0.5748 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.5398, allocations: 19 kB / 0.5748 GB, free: 2.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5398, allocations: 0 / 0.5748 GB, free: 2.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004301/0.5441, allocations: 1.702 MB / 0.5764 GB, free: 0.7305 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches