Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002338, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001078/0.001077, allocations: 86.69 kB / 267.5 MB, free: 14.1 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.2751/0.2751, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.555e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6054, allocations: 87.46 MB / 0.5582 GB, free: 168 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6057, allocations: 77.48 kB / 0.5583 GB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.6302, allocations: 5.516 MB / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6303, allocations: 0 / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.6303, allocations: 4 kB / 0.5637 GB, free: 11.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005916/0.6309, allocations: 420.8 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.631, allocations: 8.031 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.6311, allocations: 7.906 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.6315, allocations: 233.8 kB / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.6316, allocations: 4 kB / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.6316, allocations: 3.938 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.6318, allocations: 44.8 kB / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6318, allocations: 4 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6318, allocations: 4 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6318, allocations: 0 / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.6319, allocations: 22.73 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.6322, allocations: 195.8 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.6324, allocations: 49 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.6324, allocations: 16.27 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.6325, allocations: 7.984 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.6327, allocations: 62.22 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.374e-06/0.6327, allocations: 0 / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.633, allocations: 82.8 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.633, allocations: 54.78 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.6334, allocations: 235.5 kB / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.6335, allocations: 25.7 kB / 0.5651 GB, free: 9.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.6336, allocations: 172.1 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.6336, allocations: 11.25 kB / 0.5653 GB, free: 9.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.6336, allocations: 0 / 0.5653 GB, free: 9.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6338, allocations: 322.8 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.6338, allocations: 14.62 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.6339, allocations: 25.16 kB / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.634, allocations: 26.88 kB / 0.5656 GB, free: 9.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.634, allocations: 4 kB / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001833/0.6342, allocations: 67.75 kB / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6343, allocations: 4 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6343, allocations: 4 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6343, allocations: 0 / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6344, allocations: 15.92 kB / 0.5657 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6345, allocations: 0 / 0.5657 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6346, allocations: 7.562 kB / 0.5657 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6346, allocations: 4 kB / 0.5657 GB, free: 9.266 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.958e-05/0.6347, allocations: 110.5 kB / 0.5658 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.6348, allocations: 15.81 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.6351, allocations: 100.3 kB / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6351, allocations: 0 / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6351, allocations: 0 / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.6351, allocations: 0 / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.6354, allocations: 206.1 kB / 0.5661 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6354, allocations: 3.953 kB / 0.5662 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.6354, allocations: 4 kB / 0.5662 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6355, allocations: 4 kB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6355, allocations: 7.938 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6355, allocations: 3.984 kB / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6355, allocations: 0 / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.6358, allocations: 114.2 kB / 0.5663 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6359, allocations: 100.9 kB / 0.5664 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.636, allocations: 7.625 kB / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.6361, allocations: 7.984 kB / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.6361, allocations: 11.94 kB / 0.5664 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6361, allocations: 0 / 0.5664 GB, free: 8.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.6364, allocations: 198.3 kB / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6365, allocations: 0 / 0.5666 GB, free: 8.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.6368, allocations: 23.56 kB / 0.5666 GB, free: 8.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001135/0.6379, allocations: 384.9 kB / 0.567 GB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.6382, allocations: 41.81 kB / 0.567 GB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6382, allocations: 4.062 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.6383, allocations: 18.56 kB / 0.567 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.6387, allocations: 29.91 kB / 0.5671 GB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.6393, allocations: 229.2 kB / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.6397, allocations: 0.7224 MB / 0.568 GB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.6398, allocations: 15.44 kB / 0.568 GB, free: 6.965 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6398, allocations: 0 / 0.568 GB, free: 6.965 MB / 378.7 MB Notification: Performance of Templates: time 0.00567/0.6455, allocations: 1.925 MB / 0.5699 GB, free: 5.047 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches