Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 201.1 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007591/0.000759, allocations: 102.8 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.37/0.37, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 11.98 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4358, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.5655, allocations: 89.27 MB / 0.6056 GB, free: 68 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.5657, allocations: 79.94 kB / 0.6057 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.578, allocations: 4.521 MB / 0.6101 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5781, allocations: 0 / 0.6101 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.5781, allocations: 0 / 0.6101 GB, free: 11.46 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.0005563/0.5786, allocations: 403.5 kB / 0.6105 GB, free: 11.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5787, allocations: 12.03 kB / 0.6105 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.5788, allocations: 8.844 kB / 0.6105 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.579, allocations: 206.7 kB / 0.6107 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5791, allocations: 4.375 kB / 0.6107 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5791, allocations: 384 / 0.6107 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5793, allocations: 50.23 kB / 0.6107 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5793, allocations: 192 / 0.6107 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5793, allocations: 15.88 kB / 0.6108 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5793, allocations: 0 / 0.6108 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.5794, allocations: 23.98 kB / 0.6108 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.5798, allocations: 273 kB / 0.611 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.58, allocations: 46.44 kB / 0.6111 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.5801, allocations: 20.94 kB / 0.6111 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.5801, allocations: 8 kB / 0.6111 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5802, allocations: 30.56 kB / 0.6111 GB, free: 10.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.5802, allocations: 0 / 0.6111 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005587/0.5807, allocations: 157.2 kB / 0.6113 GB, free: 10.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5808, allocations: 55.41 kB / 0.6113 GB, free: 9.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.5809, allocations: 144.2 kB / 0.6115 GB, free: 9.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.581, allocations: 29.69 kB / 0.6115 GB, free: 9.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.581, allocations: 96.08 kB / 0.6116 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.5811, allocations: 15.81 kB / 0.6116 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.5811, allocations: 0 / 0.6116 GB, free: 9.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5812, allocations: 326.8 kB / 0.6119 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.5813, allocations: 23.98 kB / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.5814, allocations: 23.92 kB / 0.612 GB, free: 9.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.5815, allocations: 61.02 kB / 0.612 GB, free: 9.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5815, allocations: 0 / 0.612 GB, free: 9.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.5817, allocations: 85.58 kB / 0.6121 GB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5817, allocations: 4 kB / 0.6121 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5817, allocations: 0 / 0.6121 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5817, allocations: 4 kB / 0.6121 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.5818, allocations: 15.98 kB / 0.6121 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5818, allocations: 0 / 0.6121 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.5819, allocations: 8 kB / 0.6121 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5819, allocations: 4 kB / 0.6121 GB, free: 9.129 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 8.766e-05/0.582, allocations: 125.7 kB / 0.6123 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.582, allocations: 7.906 kB / 0.6123 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.5823, allocations: 101.9 kB / 0.6124 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5823, allocations: 4 kB / 0.6124 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5823, allocations: 0 / 0.6124 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5823, allocations: 0 / 0.6124 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.5827, allocations: 367.5 kB / 0.6127 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5828, allocations: 0 / 0.6127 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.5828, allocations: 12 kB / 0.6127 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5828, allocations: 0 / 0.6127 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5828, allocations: 4.266 kB / 0.6127 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5828, allocations: 0 / 0.6127 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5828, allocations: 8 kB / 0.6128 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.5831, allocations: 183.6 kB / 0.6129 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.5832, allocations: 101 kB / 0.613 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.5832, allocations: 0 / 0.613 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.5833, allocations: 12 kB / 0.613 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.5833, allocations: 7.922 kB / 0.613 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.5833, allocations: 4 kB / 0.613 GB, free: 8.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.5834, allocations: 113 kB / 0.6132 GB, free: 8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5834, allocations: 0 / 0.6132 GB, free: 8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.5837, allocations: 23.92 kB / 0.6132 GB, free: 7.977 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.0008894/0.5846, allocations: 403.8 kB / 0.6136 GB, free: 7.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.5848, allocations: 55.97 kB / 0.6136 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5848, allocations: 0 / 0.6136 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.5848, allocations: 28.05 kB / 0.6136 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.5851, allocations: 16.11 kB / 0.6137 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.5856, allocations: 189.4 kB / 0.6138 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.5859, allocations: 0.6887 MB / 0.6145 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.586, allocations: 15.98 kB / 0.6145 GB, free: 6.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.586, allocations: 15.42 kB / 0.6145 GB, free: 6.652 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.586, allocations: 0 / 0.6145 GB, free: 6.652 MB / 426.7 MB Notification: Performance of Templates: time 0.003822/0.5898, allocations: 1.065 MB / 0.6156 GB, free: 5.59 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches