Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001395, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.538/1.538, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007943/0.0007946, allocations: 101.8 kB / 267.1 MB, free: 9.273 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.3736/0.3736, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.248e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5067, allocations: 87.58 MB / 0.5583 GB, free: 16.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.507, allocations: 69.98 kB / 0.5584 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.5201, allocations: 5.219 MB / 0.5635 GB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5201, allocations: 0 / 0.5635 GB, free: 13.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.5202, allocations: 0 / 0.5635 GB, free: 13.57 MB / 394.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.5205, allocations: 400.8 kB / 0.5639 GB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5206, allocations: 8.031 kB / 0.5639 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.5206, allocations: 15.16 kB / 0.5639 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.5209, allocations: 208.1 kB / 0.5641 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5209, allocations: 4 kB / 0.5641 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5209, allocations: 4 kB / 0.5641 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.5211, allocations: 51.28 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5211, allocations: 0 / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5211, allocations: 1.375 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5211, allocations: 1.594 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.5212, allocations: 25.41 kB / 0.5642 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.5215, allocations: 295.5 kB / 0.5645 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.5216, allocations: 52.64 kB / 0.5645 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.5216, allocations: 20.5 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5217, allocations: 11.92 kB / 0.5646 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.5218, allocations: 70.02 kB / 0.5646 GB, free: 12.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5218, allocations: 0 / 0.5646 GB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004106/0.5222, allocations: 159.4 kB / 0.5648 GB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.5222, allocations: 51.41 kB / 0.5648 GB, free: 12.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.5224, allocations: 166.1 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5224, allocations: 25.7 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.5224, allocations: 104.2 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5225, allocations: 28.95 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5225, allocations: 2.812 kB / 0.5651 GB, free: 11.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.5225, allocations: 317.1 kB / 0.5654 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.5226, allocations: 18.5 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.5226, allocations: 41.33 kB / 0.5655 GB, free: 11.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.5226, allocations: 19.23 kB / 0.5655 GB, free: 11.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5227, allocations: 0 / 0.5655 GB, free: 11.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001224/0.5228, allocations: 101 kB / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5228, allocations: 8 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5228, allocations: 0 / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5228, allocations: 0 / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.5229, allocations: 15.05 kB / 0.5656 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5229, allocations: 7.953 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.523, allocations: 0 / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.523, allocations: 9.078 kB / 0.5656 GB, free: 11.46 MB / 394.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 4.811e-05/0.5231, allocations: 111 kB / 0.5658 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.5231, allocations: 11.94 kB / 0.5658 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.5233, allocations: 118.7 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5233, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5233, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5233, allocations: 5.172 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.5236, allocations: 412.5 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5236, allocations: 192 / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.5237, allocations: 12.03 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.5237, allocations: 4 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.5237, allocations: 4 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5237, allocations: 4.797 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5237, allocations: 0 / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5239, allocations: 221.1 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.5239, allocations: 90.14 kB / 0.5666 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.524, allocations: 11.95 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.5241, allocations: 3.984 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5241, allocations: 7 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.5241, allocations: 4 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.5242, allocations: 131.1 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5242, allocations: 0 / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000237/0.5244, allocations: 35.28 kB / 0.5668 GB, free: 10.32 MB / 394.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.0008555/0.5253, allocations: 429.5 kB / 0.5672 GB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.5254, allocations: 61.22 kB / 0.5673 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5255, allocations: 0 / 0.5673 GB, free: 9.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.5255, allocations: 26.88 kB / 0.5673 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5258, allocations: 35.09 kB / 0.5673 GB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.5261, allocations: 151.3 kB / 0.5675 GB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.5263, allocations: 0.7004 MB / 0.5681 GB, free: 9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.5264, allocations: 28.84 kB / 0.5682 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.5264, allocations: 18.94 kB / 0.5682 GB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5264, allocations: 0 / 0.5682 GB, free: 8.957 MB / 394.7 MB Notification: Performance of Templates: time 0.003723/0.5301, allocations: 1.665 MB / 0.5698 GB, free: 7.309 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches