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/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.001633/0.001633, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001775/0.001775, allocations: 213 kB / 23.73 MB, free: 4.164 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2774/0.2774, allocations: 46.94 MB / 360.8 MB, free: 3.922 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 83.86 kB / 0.4967 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3656, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003208/0.3688, allocations: 1.593 MB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3698, allocations: 0.5149 MB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.3699, allocations: 0 / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.3701, allocations: 31.78 kB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.3704, allocations: 63.7 kB / 0.5633 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.3706, allocations: 98.94 kB / 0.5634 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.3708, allocations: 75.77 kB / 0.5635 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.3709, allocations: 11.94 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.3709, allocations: 23.86 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.371, allocations: 23.84 kB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.371, allocations: 4 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.3711, allocations: 32 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.3711, allocations: 11.98 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.3712, allocations: 19.8 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3713, allocations: 82 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3713, allocations: 0 / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3713, allocations: 0 / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3713, allocations: 4 kB / 0.5637 GB, free: 1.383 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.0005495/0.3719, allocations: 313.9 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3719, allocations: 8.031 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.372, allocations: 8.891 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3722, allocations: 136.1 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3722, allocations: 4.375 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3722, allocations: 384 / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3723, allocations: 50.19 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3724, allocations: 192 / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3724, allocations: 3.938 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3724, allocations: 7.984 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.3725, allocations: 23.97 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.3728, allocations: 220.5 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.373, allocations: 46.48 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3731, allocations: 16.8 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3731, allocations: 4 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3731, allocations: 30.56 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3731, allocations: 0 / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005229/0.3736, allocations: 145.5 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3737, allocations: 51.41 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3738, allocations: 152.9 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3739, allocations: 25.7 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.3739, allocations: 96.12 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.374, allocations: 19.8 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.374, allocations: 25.7 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3741, allocations: 310.8 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.3742, allocations: 23.98 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.3742, allocations: 19.98 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3744, allocations: 48.77 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3744, allocations: 3.938 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001684/0.3745, allocations: 81.86 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3746, allocations: 8 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3746, allocations: 3.938 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3746, allocations: 8 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.3746, allocations: 8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3746, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.3747, allocations: 7.984 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3747, allocations: 4 kB / 0.5655 GB, free: 15.33 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.0001024/0.3748, allocations: 119.1 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3748, allocations: 7.953 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.3751, allocations: 97.98 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3751, allocations: 4 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3751, allocations: 0 / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3751, allocations: 0 / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.3754, allocations: 290.1 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3754, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.3755, allocations: 11.98 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3755, allocations: 7.938 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3755, allocations: 0 / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3755, allocations: 0 / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3755, allocations: 7.984 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.3758, allocations: 175.4 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.3758, allocations: 11.94 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3758, allocations: 4 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.3759, allocations: 4 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.3759, allocations: 3.984 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3759, allocations: 8.125 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.376, allocations: 115.3 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3763, allocations: 19.92 kB / 0.5664 GB, free: 14.38 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.001541/0.3778, allocations: 426.1 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.378, allocations: 43.97 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.378, allocations: 0 / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.3781, allocations: 27.92 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3784, allocations: 26.58 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3789, allocations: 182.2 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.077e-05/0.379, allocations: 87.02 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3791, allocations: 7.781 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.3791, allocations: 15.42 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3791, allocations: 0 / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004075/0.3832, allocations: 1.161 MB / 0.5683 GB, free: 12.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.331315400078893]