Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 196.2 kB / 18.1 MB, free: 3.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008781/0.000878, allocations: 103.5 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3728/0.3728, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 11.98 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3874, allocations: 62.95 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.5561, allocations: 89.27 MB / 0.6056 GB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.5565, allocations: 79.95 kB / 0.6057 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.5764, allocations: 4.525 MB / 0.6101 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5765, allocations: 0 / 0.6101 GB, free: 11.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.5765, allocations: 0 / 0.6101 GB, free: 11.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006661/0.5772, allocations: 407.5 kB / 0.6105 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5773, allocations: 8.031 kB / 0.6105 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.5773, allocations: 8.844 kB / 0.6105 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.5777, allocations: 206.5 kB / 0.6107 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5777, allocations: 4.359 kB / 0.6107 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5778, allocations: 8.375 kB / 0.6107 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.578, allocations: 50.25 kB / 0.6108 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.578, allocations: 4.125 kB / 0.6108 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.578, allocations: 3.938 kB / 0.6108 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5781, allocations: 3.984 kB / 0.6108 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.5782, allocations: 23.98 kB / 0.6108 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.5787, allocations: 281 kB / 0.6111 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.579, allocations: 50.44 kB / 0.6111 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.5791, allocations: 16.94 kB / 0.6111 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5792, allocations: 0 / 0.6111 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5792, allocations: 38.56 kB / 0.6112 GB, free: 10.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.5792, allocations: 0 / 0.6112 GB, free: 10.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008524/0.5801, allocations: 157.3 kB / 0.6113 GB, free: 9.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5801, allocations: 51.41 kB / 0.6114 GB, free: 9.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.5804, allocations: 152.7 kB / 0.6115 GB, free: 9.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.5804, allocations: 25.7 kB / 0.6115 GB, free: 9.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.5805, allocations: 96.08 kB / 0.6116 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.5805, allocations: 15.8 kB / 0.6116 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5805, allocations: 0 / 0.6116 GB, free: 9.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5807, allocations: 322.8 kB / 0.6119 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5808, allocations: 19.98 kB / 0.612 GB, free: 9.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.5809, allocations: 27.92 kB / 0.612 GB, free: 9.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5812, allocations: 56.83 kB / 0.612 GB, free: 9.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5812, allocations: 4 kB / 0.612 GB, free: 9.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003332/0.5815, allocations: 81.58 kB / 0.6121 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5816, allocations: 4 kB / 0.6121 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5816, allocations: 0 / 0.6121 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5816, allocations: 7.938 kB / 0.6121 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.5817, allocations: 15.98 kB / 0.6122 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.5818, allocations: 4 kB / 0.6122 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.5818, allocations: 7.984 kB / 0.6122 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.5818, allocations: 0 / 0.6122 GB, free: 9.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001103/0.582, allocations: 121.7 kB / 0.6123 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.582, allocations: 7.906 kB / 0.6123 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.5823, allocations: 105.9 kB / 0.6124 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5824, allocations: 0 / 0.6124 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5824, allocations: 320 / 0.6124 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5824, allocations: 3.938 kB / 0.6124 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.583, allocations: 367.6 kB / 0.6127 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5831, allocations: 4 kB / 0.6127 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.5832, allocations: 11.98 kB / 0.6128 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.5832, allocations: 4 kB / 0.6128 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5832, allocations: 0 / 0.6128 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5832, allocations: 0 / 0.6128 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5832, allocations: 0 / 0.6128 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.5836, allocations: 191.3 kB / 0.6129 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.5837, allocations: 89 kB / 0.613 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.5837, allocations: 4 kB / 0.613 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5839, allocations: 4 kB / 0.613 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.584, allocations: 15.92 kB / 0.613 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.584, allocations: 0 / 0.613 GB, free: 8.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.5841, allocations: 115.2 kB / 0.6132 GB, free: 7.945 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5841, allocations: 0 / 0.6132 GB, free: 7.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004317/0.5846, allocations: 19.94 kB / 0.6132 GB, free: 7.926 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001564/0.5862, allocations: 407.3 kB / 0.6136 GB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.5865, allocations: 55.97 kB / 0.6136 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5865, allocations: 0 / 0.6136 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.5866, allocations: 31.92 kB / 0.6137 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.5872, allocations: 15.97 kB / 0.6137 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.5879, allocations: 189.3 kB / 0.6138 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5883, allocations: 0.6926 MB / 0.6145 GB, free: 6.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.5884, allocations: 15.92 kB / 0.6145 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.5884, allocations: 15.42 kB / 0.6146 GB, free: 6.598 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5884, allocations: 0 / 0.6146 GB, free: 6.598 MB / 426.7 MB Notification: Performance of Templates: time 0.003919/0.5924, allocations: 1.053 MB / 0.6156 GB, free: 5.551 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches