Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000963/0.000963, 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.684/1.684, 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.0008632/0.0008631, allocations: 80.05 kB / 261.7 MB, free: 1.676 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.2117/0.2117, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.997e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1208, allocations: 58.86 MB / 477.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5624, allocations: 86.96 MB / 0.5509 GB, free: 7.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5627, allocations: 76.95 kB / 0.5509 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.5803, allocations: 5.638 MB / 0.5564 GB, free: 3.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5803, allocations: 0 / 0.5564 GB, free: 3.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5803, allocations: 4 kB / 0.5565 GB, free: 3.43 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.0005349/0.5809, allocations: 423.4 kB / 0.5569 GB, free: 2.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.581, allocations: 8.031 kB / 0.5569 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.581, allocations: 15.84 kB / 0.5569 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.5814, allocations: 221.2 kB / 0.5571 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.5815, allocations: 0 / 0.5571 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.5815, allocations: 6.75 kB / 0.5571 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.695e-05/0.5816, allocations: 11.44 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5817, allocations: 52.42 kB / 0.5572 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5818, allocations: 7.938 kB / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5818, allocations: 0 / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5818, allocations: 4 kB / 0.5572 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.5822, allocations: 293.4 kB / 0.5574 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.5824, allocations: 48.69 kB / 0.5575 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.5824, allocations: 16.67 kB / 0.5575 GB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.5825, allocations: 4 kB / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.5826, allocations: 65.39 kB / 0.5576 GB, free: 2.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.604e-06/0.5827, allocations: 0 / 0.5576 GB, free: 2.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005528/0.5832, allocations: 156.2 kB / 0.5577 GB, free: 2.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.5833, allocations: 55.34 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.5836, allocations: 233.8 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.5836, allocations: 25.7 kB / 0.558 GB, free: 1.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.5837, allocations: 116.6 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.5837, allocations: 22.91 kB / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5837, allocations: 3.938 kB / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5838, allocations: 326.2 kB / 0.5585 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.5839, allocations: 22.73 kB / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.584, allocations: 28.84 kB / 0.5585 GB, free: 1.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.584, allocations: 26.98 kB / 0.5585 GB, free: 1.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5841, allocations: 4 kB / 0.5586 GB, free: 1.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.5843, allocations: 99.16 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5843, allocations: 4 kB / 0.5586 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5843, allocations: 0 / 0.5586 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.5844, allocations: 0 / 0.5586 GB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5845, allocations: 19.98 kB / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.5845, allocations: 0 / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.5846, allocations: 4 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.5846, allocations: 3.953 kB / 0.5587 GB, free: 1.148 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 7.561e-05/0.5847, allocations: 112.6 kB / 0.5588 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.5848, allocations: 15.81 kB / 0.5588 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.585, allocations: 117.4 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.585, allocations: 4 kB / 0.5589 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5851, allocations: 0 / 0.5589 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5851, allocations: 3.984 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.5856, allocations: 402.8 kB / 0.5593 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5856, allocations: 4.031 kB / 0.5593 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.5856, allocations: 8 kB / 0.5593 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.5857, allocations: 4 kB / 0.5593 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5857, allocations: 0 / 0.5593 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5857, allocations: 0 / 0.5593 GB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5857, allocations: 3.938 kB / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.5859, allocations: 220.2 kB / 0.5595 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.586, allocations: 104.3 kB / 0.5596 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.5861, allocations: 0 / 0.5596 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5862, allocations: 11.92 kB / 0.5596 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.5863, allocations: 11.89 kB / 0.5597 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5863, allocations: 0 / 0.5597 GB, free: 136 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.5865, allocations: 191.1 kB / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5865, allocations: 0 / 0.5598 GB, free: 15.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.587, allocations: 43.11 kB / 0.5599 GB, free: 15.94 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) * 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.001507/0.5885, allocations: 394.1 kB / 0.5603 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.5888, allocations: 50.06 kB / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5888, allocations: 0 / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.5889, allocations: 38.48 kB / 0.5603 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.5893, allocations: 23.53 kB / 0.5604 GB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007085/0.59, allocations: 215.4 kB / 0.5606 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.5906, allocations: 0.7281 MB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.5907, allocations: 16.55 kB / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.5907, allocations: 23.05 kB / 0.5613 GB, free: 14.53 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5907, allocations: 0 / 0.5613 GB, free: 14.53 MB / 378.7 MB Notification: Performance of Templates: time 0.006632/0.5974, allocations: 1.732 MB / 0.563 GB, free: 12.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches