Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001065, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008509/0.0008508, allocations: 104 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3222/0.3222, allocations: 44.81 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003568, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.4056, allocations: 90.64 MB / 0.605 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4059, allocations: 79.95 kB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01698/0.4229, allocations: 6.622 MB / 0.6115 GB, free: 8.023 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4229, allocations: 0 / 0.6115 GB, free: 8.023 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.423, allocations: 7.938 kB / 0.6115 GB, free: 8.016 MB / 426.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.0004856/0.4235, allocations: 454.8 kB / 0.612 GB, free: 7.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4235, allocations: 8.031 kB / 0.612 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.4235, allocations: 12.84 kB / 0.612 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4238, allocations: 234.4 kB / 0.6122 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4239, allocations: 4.312 kB / 0.6122 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.4239, allocations: 4.375 kB / 0.6122 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.424, allocations: 54.23 kB / 0.6123 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.424, allocations: 192 / 0.6123 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4241, allocations: 7.922 kB / 0.6123 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.4241, allocations: 4 kB / 0.6123 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.4241, allocations: 19.98 kB / 0.6123 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.4245, allocations: 300.8 kB / 0.6126 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4247, allocations: 66.55 kB / 0.6127 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.4247, allocations: 16.86 kB / 0.6127 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.4248, allocations: 4 kB / 0.6127 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.4249, allocations: 71.38 kB / 0.6128 GB, free: 6.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4249, allocations: 0 / 0.6128 GB, free: 6.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004998/0.4254, allocations: 181.1 kB / 0.6129 GB, free: 6.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4255, allocations: 51.41 kB / 0.613 GB, free: 6.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4257, allocations: 216.3 kB / 0.6132 GB, free: 6.141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4257, allocations: 37.7 kB / 0.6132 GB, free: 6.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.4258, allocations: 115.9 kB / 0.6133 GB, free: 5.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.4258, allocations: 27.64 kB / 0.6134 GB, free: 5.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.4258, allocations: 0 / 0.6134 GB, free: 5.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4259, allocations: 330.8 kB / 0.6137 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.426, allocations: 27.92 kB / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.4261, allocations: 37.69 kB / 0.6137 GB, free: 5.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4262, allocations: 57.72 kB / 0.6138 GB, free: 5.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4262, allocations: 0 / 0.6138 GB, free: 5.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.4264, allocations: 105.5 kB / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4264, allocations: 4 kB / 0.6139 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4264, allocations: 0 / 0.6139 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4264, allocations: 4 kB / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.4265, allocations: 16.36 kB / 0.6139 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4265, allocations: 0 / 0.6139 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.4266, allocations: 16.03 kB / 0.6139 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4266, allocations: 4 kB / 0.6139 GB, free: 5.336 MB / 426.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 9.091e-05/0.4267, allocations: 135.1 kB / 0.6141 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.4267, allocations: 15.81 kB / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.427, allocations: 127.1 kB / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.427, allocations: 0 / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.427, allocations: 4 kB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.427, allocations: 3.984 kB / 0.6142 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.4275, allocations: 423.2 kB / 0.6146 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4275, allocations: 0 / 0.6146 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.4275, allocations: 8 kB / 0.6146 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4275, allocations: 4 kB / 0.6146 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4275, allocations: 4 kB / 0.6146 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4276, allocations: 0 / 0.6146 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4276, allocations: 7.938 kB / 0.6146 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.4278, allocations: 220.4 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.4279, allocations: 92.92 kB / 0.6149 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.4279, allocations: 7.984 kB / 0.6149 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.428, allocations: 4 kB / 0.6149 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.428, allocations: 7.938 kB / 0.6149 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.428, allocations: 3.984 kB / 0.6149 GB, free: 4.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4282, allocations: 165.2 kB / 0.6151 GB, free: 4.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4282, allocations: 7.938 kB / 0.6151 GB, free: 4.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.4284, allocations: 43.92 kB / 0.6152 GB, free: 3.969 MB / 426.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.000934/0.4294, allocations: 462.3 kB / 0.6156 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4296, allocations: 63.91 kB / 0.6157 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4296, allocations: 0 / 0.6157 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.4296, allocations: 31.98 kB / 0.6157 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.43, allocations: 23.98 kB / 0.6157 GB, free: 3.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.4304, allocations: 316.3 kB / 0.616 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.4307, allocations: 0.7083 MB / 0.6167 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.4308, allocations: 19.42 kB / 0.6167 GB, free: 2.473 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4308, allocations: 4 kB / 0.6167 GB, free: 2.469 MB / 426.7 MB Notification: Performance of Templates: time 0.003289/0.4341, allocations: 2.049 MB / 0.6187 GB, free: 436 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches