Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 198.7 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008083/0.0008084, allocations: 103.9 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1711/0.1711, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08763, allocations: 62.97 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001882/0.08955, allocations: 1.591 MB / 0.5169 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.09094, allocations: 1.061 MB / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.09102, allocations: 0 / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1682/0.2593, allocations: 241.1 kB / 0.5182 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.2598, allocations: 206.2 kB / 0.5184 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.2603, allocations: 153.4 kB / 0.5185 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.2606, allocations: 229.8 kB / 0.5187 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2607, allocations: 27.91 kB / 0.5187 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2609, allocations: 116.9 kB / 0.5189 GB, free: 9.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2611, allocations: 161.6 kB / 0.519 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2611, allocations: 3.844 kB / 0.519 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.2613, allocations: 60.08 kB / 0.5191 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.2614, allocations: 61.25 kB / 0.5191 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.2614, allocations: 58.3 kB / 0.5192 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2617, allocations: 183.4 kB / 0.5194 GB, free: 9.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2617, allocations: 4.438 kB / 0.5194 GB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2617, allocations: 0 / 0.5194 GB, free: 9.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2617, allocations: 0.5312 kB / 0.5194 GB, free: 9.773 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005707/0.2623, allocations: 0.5385 MB / 0.5199 GB, free: 9.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2623, allocations: 13.86 kB / 0.5199 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.2624, allocations: 30.19 kB / 0.5199 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.2627, allocations: 287.6 kB / 0.5202 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2627, allocations: 4.906 kB / 0.5202 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.2627, allocations: 7.938 kB / 0.5202 GB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2629, allocations: 106.3 kB / 0.5203 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.263, allocations: 1.188 kB / 0.5203 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.263, allocations: 6.312 kB / 0.5203 GB, free: 9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.263, allocations: 5.281 kB / 0.5203 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2631, allocations: 47.98 kB / 0.5204 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.2636, allocations: 483.6 kB / 0.5208 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.2639, allocations: 125.1 kB / 0.521 GB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.264, allocations: 45.83 kB / 0.521 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.264, allocations: 4.359 kB / 0.521 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.2642, allocations: 130.7 kB / 0.5211 GB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.2643, allocations: 2.078 kB / 0.5211 GB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001195/0.2655, allocations: 0.4971 MB / 0.5216 GB, free: 8.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2655, allocations: 80.81 kB / 0.5217 GB, free: 8.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.266, allocations: 497.1 kB / 0.5222 GB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.266, allocations: 37.16 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.2661, allocations: 163.2 kB / 0.5224 GB, free: 8.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.2662, allocations: 72.38 kB / 0.5224 GB, free: 7.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2662, allocations: 6.875 kB / 0.5224 GB, free: 7.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.2663, allocations: 348.8 kB / 0.5228 GB, free: 7.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2664, allocations: 54.83 kB / 0.5228 GB, free: 7.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2665, allocations: 101 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.2667, allocations: 69.05 kB / 0.523 GB, free: 7.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2667, allocations: 0 / 0.523 GB, free: 7.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003394/0.267, allocations: 228.1 kB / 0.5232 GB, free: 7.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.267, allocations: 9.484 kB / 0.5232 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2671, allocations: 0.7031 kB / 0.5232 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2671, allocations: 2.719 kB / 0.5232 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.2672, allocations: 52.06 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2672, allocations: 1.844 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.2673, allocations: 10.23 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2673, allocations: 7.078 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001327/0.2675, allocations: 179.4 kB / 0.5235 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.2675, allocations: 39.61 kB / 0.5235 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.2676, allocations: 51.28 kB / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2676, allocations: 3.203 kB / 0.5235 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2676, allocations: 8.688 kB / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2676, allocations: 1.312 kB / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.2684, allocations: 0.7453 MB / 0.5243 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2684, allocations: 7.047 kB / 0.5243 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.2685, allocations: 26.19 kB / 0.5243 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2685, allocations: 3.312 kB / 0.5243 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2685, allocations: 9.859 kB / 0.5243 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2685, allocations: 6.031 kB / 0.5243 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2686, allocations: 2.75 kB / 0.5243 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.2689, allocations: 430 kB / 0.5247 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.269, allocations: 109.9 kB / 0.5248 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.2691, allocations: 7.984 kB / 0.5249 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2692, allocations: 11.56 kB / 0.5249 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.2693, allocations: 22.17 kB / 0.5249 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.2693, allocations: 14.02 kB / 0.5249 GB, free: 6.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.2697, allocations: 376 kB / 0.5253 GB, free: 6.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2697, allocations: 0 / 0.5253 GB, free: 6.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.27, allocations: 50.34 kB / 0.5253 GB, free: 6.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009639/0.271, allocations: 0.5143 MB / 0.5258 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.2713, allocations: 157.5 kB / 0.526 GB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2714, allocations: 3.938 kB / 0.526 GB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2715, allocations: 80.08 kB / 0.526 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.272, allocations: 54.75 kB / 0.5261 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.2729, allocations: 0.682 MB / 0.5268 GB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.2732, allocations: 0.7794 MB / 0.5275 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.2733, allocations: 37.39 kB / 0.5276 GB, free: 5.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2733, allocations: 0 / 0.5276 GB, free: 5.09 MB / 346.7 MB Notification: Performance of Templates: time 0.006023/0.2793, allocations: 3.824 MB / 0.5313 GB, free: 4.637 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches