Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 194.4 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008004, allocations: 98.42 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3515/0.3515, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3318, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.4481, allocations: 90.42 MB / 0.6048 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4484, allocations: 79.95 kB / 0.6049 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.4657, allocations: 6.378 MB / 0.6111 GB, free: 8.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4658, allocations: 4 kB / 0.6111 GB, free: 8.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4658, allocations: 3.938 kB / 0.6111 GB, free: 8.492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005825/0.4664, allocations: 454.7 kB / 0.6115 GB, free: 7.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4665, allocations: 8.031 kB / 0.6115 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4665, allocations: 12.84 kB / 0.6115 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4668, allocations: 222.4 kB / 0.6118 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4668, allocations: 384 / 0.6118 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4669, allocations: 16.3 kB / 0.6118 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.467, allocations: 54.17 kB / 0.6118 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.467, allocations: 192 / 0.6118 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.467, allocations: 3.938 kB / 0.6118 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.467, allocations: 0 / 0.6118 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.4671, allocations: 19.98 kB / 0.6118 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.4674, allocations: 189.6 kB / 0.612 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.4675, allocations: 58.61 kB / 0.6121 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.4676, allocations: 24.83 kB / 0.6121 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4676, allocations: 0 / 0.6121 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.4677, allocations: 71.33 kB / 0.6122 GB, free: 7.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4678, allocations: 0 / 0.6122 GB, free: 7.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002951/0.4681, allocations: 101.4 kB / 0.6123 GB, free: 7.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.4681, allocations: 55.41 kB / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.4683, allocations: 220.3 kB / 0.6125 GB, free: 6.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4684, allocations: 29.7 kB / 0.6126 GB, free: 6.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.4684, allocations: 104.1 kB / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.4685, allocations: 15.83 kB / 0.6127 GB, free: 6.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.4685, allocations: 4 kB / 0.6127 GB, free: 6.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4686, allocations: 322.8 kB / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.4687, allocations: 12 kB / 0.613 GB, free: 6.316 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.4687, allocations: 33.7 kB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.439e-05/0.4688, allocations: 49.95 kB / 0.6131 GB, free: 6.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4688, allocations: 0 / 0.6131 GB, free: 6.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.469, allocations: 89.42 kB / 0.6132 GB, free: 6.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.469, allocations: 10.91 kB / 0.6132 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4691, allocations: 0 / 0.6132 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4691, allocations: 3.938 kB / 0.6132 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.4691, allocations: 16.03 kB / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4692, allocations: 0 / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.4692, allocations: 4 kB / 0.6132 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4692, allocations: 3.984 kB / 0.6132 GB, free: 6.094 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 (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 0.0001037/0.4693, allocations: 131.3 kB / 0.6133 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4694, allocations: 15.75 kB / 0.6133 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.4696, allocations: 98.66 kB / 0.6134 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4696, allocations: 4 kB / 0.6134 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4696, allocations: 4 kB / 0.6134 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4696, allocations: 0 / 0.6134 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4698, allocations: 201.5 kB / 0.6136 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4698, allocations: 0 / 0.6136 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.4698, allocations: 4 kB / 0.6136 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4698, allocations: 3.938 kB / 0.6136 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4699, allocations: 3.938 kB / 0.6136 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4699, allocations: 0 / 0.6136 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4699, allocations: 3.938 kB / 0.6137 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4701, allocations: 128.9 kB / 0.6138 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.4701, allocations: 89.2 kB / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.4702, allocations: 7.938 kB / 0.6139 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.242e-05/0.4702, allocations: 7.984 kB / 0.6139 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4703, allocations: 4 kB / 0.6139 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4703, allocations: 4 kB / 0.6139 GB, free: 5.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4704, allocations: 161.2 kB / 0.614 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4704, allocations: 0 / 0.614 GB, free: 5.145 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.4706, allocations: 28 kB / 0.6141 GB, free: 5.117 MB / 426.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) * Number of clocked states: 0 () * 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.0008602/0.4715, allocations: 407.9 kB / 0.6145 GB, free: 4.859 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4717, allocations: 51.91 kB / 0.6145 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4717, allocations: 0 / 0.6145 GB, free: 4.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.4718, allocations: 16.12 kB / 0.6145 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.472, allocations: 28.09 kB / 0.6145 GB, free: 4.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4725, allocations: 291.1 kB / 0.6148 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.4728, allocations: 0.7121 MB / 0.6155 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4729, allocations: 15.44 kB / 0.6155 GB, free: 3.695 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4729, allocations: 0 / 0.6155 GB, free: 3.695 MB / 426.7 MB Notification: Performance of Templates: time 0.003337/0.4762, allocations: 1.812 MB / 0.6173 GB, free: 1.891 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches