Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001202, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2626/0.2626, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4488, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003254/0.4521, allocations: 1.59 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.4532, allocations: 0.5351 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.4532, allocations: 1.375 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.4535, allocations: 29.34 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.4538, allocations: 72.38 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.4541, allocations: 102.4 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4543, allocations: 52.66 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4544, allocations: 18.86 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.4545, allocations: 32.03 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.4546, allocations: 18.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.4546, allocations: 2.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.4547, allocations: 36.61 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.4548, allocations: 12.05 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.4548, allocations: 29.3 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.455, allocations: 76.67 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.455, allocations: 3.984 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.455, allocations: 4 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.455, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 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.0005044/0.4555, allocations: 378.8 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4556, allocations: 13.61 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4556, allocations: 8.969 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.4559, allocations: 199.9 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4559, allocations: 9.734 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4559, allocations: 1.75 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4561, allocations: 55.42 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4561, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4561, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4561, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.4562, allocations: 24.3 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.4566, allocations: 272 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.4568, allocations: 47.12 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.4569, allocations: 15.62 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4569, allocations: 5.125 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.457, allocations: 35.75 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.457, allocations: 0 / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006195/0.4576, allocations: 154.1 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4576, allocations: 55.34 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4578, allocations: 163.1 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4578, allocations: 27.05 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.4579, allocations: 95.55 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.4579, allocations: 14.42 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.458, allocations: 16.97 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4581, allocations: 321.4 kB / 0.5354 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.4582, allocations: 22.98 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.4582, allocations: 15.2 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.4584, allocations: 47.34 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4584, allocations: 1.062 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002003/0.4586, allocations: 80.38 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4586, allocations: 5.781 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4587, allocations: 7.938 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4587, allocations: 0 / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.4588, allocations: 13.77 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4588, allocations: 1.156 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.4588, allocations: 11.5 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4588, allocations: 1.219 kB / 0.5356 GB, free: 9.668 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.4589, allocations: 119.3 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.459, allocations: 11.34 kB / 0.5357 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.4592, allocations: 90.16 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4592, allocations: 1.156 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4593, allocations: 3.938 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4593, allocations: 5.031 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.4597, allocations: 346.7 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4597, allocations: 1.094 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.4598, allocations: 9.219 kB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.4598, allocations: 9.172 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4598, allocations: 3.938 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4598, allocations: 1.031 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4598, allocations: 192 / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.4601, allocations: 183.9 kB / 0.5363 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.4601, allocations: 80.02 kB / 0.5364 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.4602, allocations: 15.92 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.4602, allocations: 3.781 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.4603, allocations: 1.656 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4603, allocations: 1.438 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4604, allocations: 133.1 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4604, allocations: 0 / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.4607, allocations: 22.91 kB / 0.5366 GB, free: 8.715 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009834/0.4617, allocations: 401.2 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4619, allocations: 51.97 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4619, allocations: 0 / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.462, allocations: 23.52 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.4624, allocations: 21.81 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.4628, allocations: 181.2 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4631, allocations: 0.7002 MB / 0.5379 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.4632, allocations: 18.06 kB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4632, allocations: 11.53 kB / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4632, allocations: 0 / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of Templates: time 0.004006/0.4673, allocations: 1.127 MB / 0.539 GB, free: 6.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches