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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 111.1 kB / 20.44 MB, free: 1.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 212.2 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.93 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 79.88 kB / 0.4967 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4712, allocations: 66.08 MB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003523/0.4747, allocations: 1.596 MB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.4759, allocations: 0.5109 MB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.476, allocations: 4 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.4762, allocations: 31.78 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.4766, allocations: 67.7 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.4769, allocations: 103 kB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.477, allocations: 59.84 kB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4772, allocations: 15.97 kB / 0.5635 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.4772, allocations: 27.86 kB / 0.5635 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.4773, allocations: 11.88 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4773, allocations: 4 kB / 0.5636 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.4774, allocations: 39.97 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.4775, allocations: 15.92 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.4775, allocations: 19.81 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4777, allocations: 82 kB / 0.5637 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4777, allocations: 0 / 0.5637 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4777, allocations: 4 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4777, allocations: 0 / 0.5637 GB, free: 1.348 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.0005581/0.4783, allocations: 309.9 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4783, allocations: 8.031 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.4784, allocations: 12.89 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.4786, allocations: 138.4 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4786, allocations: 384 / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4786, allocations: 4.375 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.4788, allocations: 50.19 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4788, allocations: 192 / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4788, allocations: 7.875 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4788, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.4789, allocations: 27.97 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.4793, allocations: 212.6 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.4795, allocations: 46.48 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.4796, allocations: 24.8 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4796, allocations: 0 / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4796, allocations: 30.56 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4796, allocations: 4 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005879/0.4802, allocations: 141.5 kB / 0.5647 GB, free: 236 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4803, allocations: 51.41 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4805, allocations: 148.9 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4805, allocations: 25.7 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.4806, allocations: 100.1 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.4806, allocations: 27.78 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.4806, allocations: 21.7 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4808, allocations: 314.8 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.4809, allocations: 15.98 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.4809, allocations: 19.98 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.4811, allocations: 52.77 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4811, allocations: 4.125 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001955/0.4813, allocations: 85.62 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4813, allocations: 7.984 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4813, allocations: 0 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4813, allocations: 0 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.4814, allocations: 12 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4814, allocations: 0 / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.4814, allocations: 7.984 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4814, allocations: 0 / 0.5655 GB, free: 15.3 MB / 414.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 0.0001181/0.4815, allocations: 125.7 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.4816, allocations: 7.953 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.4818, allocations: 97.98 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4818, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4818, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4818, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.4823, allocations: 294 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4823, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.4823, allocations: 19.98 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4823, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4823, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4823, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4823, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4826, allocations: 179.4 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.4826, allocations: 4.484 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4826, allocations: 7.984 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.4827, allocations: 8 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.4827, allocations: 11.98 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4827, allocations: 3.984 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4828, allocations: 119.2 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4828, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.4831, allocations: 19.92 kB / 0.5664 GB, free: 14.34 MB / 414.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.00168/0.4848, allocations: 416.9 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.485, allocations: 39.97 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.485, allocations: 7.938 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.485, allocations: 27.92 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4854, allocations: 15.98 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.4859, allocations: 178.4 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.486, allocations: 83.08 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.4861, allocations: 19.77 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.4861, allocations: 15.44 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4861, allocations: 0 / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004796/0.4909, allocations: 1.168 MB / 0.5683 GB, free: 12.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.364769250154495]