Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 72.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4616, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003022/0.4646, allocations: 1.618 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.4657, allocations: 0.543 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.4658, allocations: 1.125 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.4661, allocations: 99.33 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.4664, allocations: 110 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.4667, allocations: 114.1 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.4669, allocations: 89.38 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.467, allocations: 21.05 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.162e-05/0.4671, allocations: 32.75 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.4672, allocations: 55.31 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4672, allocations: 4.125 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.4673, allocations: 40.86 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.4674, allocations: 28.16 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.4675, allocations: 38.56 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.4677, allocations: 115.9 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4677, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4677, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4677, allocations: 5.312 kB / 0.5338 GB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004944/0.4682, allocations: 416.9 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4683, allocations: 9.625 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4683, allocations: 18.33 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4685, allocations: 196.6 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4685, allocations: 9.734 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.4686, allocations: 11.08 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4687, allocations: 62.05 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4687, allocations: 1.375 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4688, allocations: 4 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4688, allocations: 1.375 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.4689, allocations: 27.09 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.4693, allocations: 301.8 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.4694, allocations: 48.38 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.4695, allocations: 21.19 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4695, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4695, allocations: 31.94 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.4695, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009087/0.4705, allocations: 250.6 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4705, allocations: 52.34 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.4707, allocations: 230.9 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4708, allocations: 37.64 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.4708, allocations: 107.6 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.4709, allocations: 34.52 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.4709, allocations: 20.12 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.471, allocations: 322.3 kB / 0.536 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.4711, allocations: 32.56 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.4712, allocations: 28.89 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4714, allocations: 82.22 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4714, allocations: 0 / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002357/0.4717, allocations: 113.1 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4717, allocations: 5.469 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4717, allocations: 1.156 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4717, allocations: 0 / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4718, allocations: 21.52 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4718, allocations: 1.188 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.4719, allocations: 14.89 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4719, allocations: 6.219 kB / 0.5363 GB, free: 9.293 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 (8): * Single equations (assignments): 8 * 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 0.0001051/0.472, allocations: 127.3 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.4721, allocations: 10.73 kB / 0.5364 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.4724, allocations: 129.8 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4724, allocations: 5.031 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4724, allocations: 1.188 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4724, allocations: 15.92 kB / 0.5365 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/0.473, allocations: 420.8 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.473, allocations: 1.125 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.473, allocations: 17.11 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4731, allocations: 5.578 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4731, allocations: 6.5 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4731, allocations: 3.938 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4731, allocations: 5.156 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.4734, allocations: 212.8 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.4734, allocations: 92.73 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4734, allocations: 5.047 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.4735, allocations: 3.844 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4736, allocations: 14.58 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.4736, allocations: 6.312 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4737, allocations: 179.2 kB / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4737, allocations: 0 / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.474, allocations: 26.47 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001043/0.4751, allocations: 456.9 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4753, allocations: 75.33 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4753, allocations: 0 / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.4754, allocations: 40.94 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4758, allocations: 28.59 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.4764, allocations: 283.6 kB / 0.5383 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4767, allocations: 0.7101 MB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.4768, allocations: 20.38 kB / 0.539 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.4769, allocations: 14.34 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.863e-06/0.4769, allocations: 0 / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of Templates: time 0.004685/0.4816, allocations: 1.409 MB / 0.5404 GB, free: 6.254 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches