Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 180.9 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.066/2.066, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001098/0.001098, allocations: 82.77 kB / 267.5 MB, free: 14.04 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.2826/0.2826, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.29e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4909/0.6121, allocations: 87.62 MB / 0.5584 GB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6125, allocations: 80.48 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.6367, allocations: 5.489 MB / 0.5638 GB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.6367, allocations: 0 / 0.5638 GB, free: 11.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.6368, allocations: 4 kB / 0.5638 GB, free: 11.35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005442/0.6373, allocations: 388.6 kB / 0.5642 GB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6374, allocations: 8.031 kB / 0.5642 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.6375, allocations: 15.81 kB / 0.5642 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.6379, allocations: 222.4 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6379, allocations: 7.562 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6379, allocations: 3.984 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.6381, allocations: 55.3 kB / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6381, allocations: 0 / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6381, allocations: 3.188 kB / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6382, allocations: 0 / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.6382, allocations: 19.92 kB / 0.5645 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.6387, allocations: 299.6 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.6389, allocations: 55.31 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.639, allocations: 23.47 kB / 0.5649 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.639, allocations: 0 / 0.5649 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.6392, allocations: 61.53 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.927e-06/0.6392, allocations: 7.938 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.6399, allocations: 171.3 kB / 0.5651 GB, free: 9.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6399, allocations: 51.41 kB / 0.5651 GB, free: 9.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.6402, allocations: 195.3 kB / 0.5653 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6403, allocations: 25.7 kB / 0.5654 GB, free: 9.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.6403, allocations: 166.1 kB / 0.5655 GB, free: 9.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.6404, allocations: 27.56 kB / 0.5655 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.6404, allocations: 3.938 kB / 0.5655 GB, free: 9.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6406, allocations: 318.7 kB / 0.5658 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.6406, allocations: 15.88 kB / 0.5659 GB, free: 9.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.6407, allocations: 40.59 kB / 0.5659 GB, free: 9.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.6408, allocations: 23.67 kB / 0.5659 GB, free: 9.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6408, allocations: 0 / 0.5659 GB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002222/0.6411, allocations: 96.58 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6411, allocations: 4 kB / 0.566 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6411, allocations: 0 / 0.566 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6411, allocations: 4.031 kB / 0.566 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.6413, allocations: 16 kB / 0.566 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6413, allocations: 3.953 kB / 0.566 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.6414, allocations: 11.92 kB / 0.5661 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6415, allocations: 0 / 0.5661 GB, free: 9.016 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 (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.141e-05/0.6416, allocations: 113.9 kB / 0.5662 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.6416, allocations: 11.91 kB / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.6419, allocations: 114.4 kB / 0.5663 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.642, allocations: 7.938 kB / 0.5663 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.642, allocations: 4 kB / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.642, allocations: 3.953 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.6427, allocations: 417.8 kB / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6427, allocations: 0 / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.6428, allocations: 8 kB / 0.5667 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.6428, allocations: 4 kB / 0.5667 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6428, allocations: 0 / 0.5667 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.6428, allocations: 7.984 kB / 0.5667 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6428, allocations: 4 kB / 0.5667 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.6432, allocations: 213.3 kB / 0.5669 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.6433, allocations: 96.34 kB / 0.567 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.6433, allocations: 11.89 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6434, allocations: 11.56 kB / 0.567 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.6435, allocations: 4.359 kB / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.6435, allocations: 4 kB / 0.567 GB, free: 7.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.6438, allocations: 160.9 kB / 0.5672 GB, free: 7.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6438, allocations: 0 / 0.5672 GB, free: 7.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000367/0.6442, allocations: 39.48 kB / 0.5672 GB, free: 7.809 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.001254/0.6454, allocations: 437.6 kB / 0.5677 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.6457, allocations: 57.5 kB / 0.5677 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6457, allocations: 0 / 0.5677 GB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.6458, allocations: 31.23 kB / 0.5677 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.6462, allocations: 28 kB / 0.5678 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.6468, allocations: 226.8 kB / 0.568 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6471, allocations: 0.7082 MB / 0.5687 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.6472, allocations: 15.44 kB / 0.5687 GB, free: 6.375 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6472, allocations: 0 / 0.5687 GB, free: 6.375 MB / 378.7 MB Notification: Performance of Templates: time 0.005757/0.653, allocations: 2.001 MB / 0.5706 GB, free: 4.387 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches