Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.0009713/0.0009713, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001031/0.001031, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.9509/0.9509, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2886/0.2886, allocations: 34.86 MB / 296.6 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.548e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00317/0.003196, allocations: 1.628 MB / 380.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004809, allocations: 1.277 MB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.004889, allocations: 0 / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.005143, allocations: 19.84 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.005504, allocations: 99.42 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.005797, allocations: 83.7 kB / 381.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.005958, allocations: 75.77 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.006053, allocations: 11.86 kB / 382 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.00612, allocations: 35.84 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.00622, allocations: 19.97 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.006237, allocations: 4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.006414, allocations: 95.81 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.006465, allocations: 11.98 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.006497, allocations: 15.92 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.006771, allocations: 135.5 kB / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.006774, allocations: 0 / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006776, allocations: 0 / 382.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.006781, allocations: 4 kB / 382.3 MB, free: 14.88 MB / 362.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.0004815/0.007262, allocations: 424 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.007304, allocations: 12.03 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.007356, allocations: 8.891 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.007535, allocations: 136.5 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.007548, allocations: 8.312 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.007574, allocations: 384 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.007739, allocations: 108 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00775, allocations: 192 / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.00776, allocations: 384 / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.007767, allocations: 4.375 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.007806, allocations: 19.86 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.008142, allocations: 275.7 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.008324, allocations: 43.05 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.008352, allocations: 15.69 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.008372, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.008397, allocations: 33.39 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.008398, allocations: 0 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004122/0.00881, allocations: 105.4 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.008857, allocations: 81.11 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.009009, allocations: 201.9 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.009021, allocations: 25.7 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.009081, allocations: 138.9 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.009104, allocations: 23.78 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.009143, allocations: 23.38 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.009278, allocations: 0.4884 MB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.0093, allocations: 7.938 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.009352, allocations: 53.08 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.009402, allocations: 27.67 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009403, allocations: 0 / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.009518, allocations: 61.66 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.009532, allocations: 4 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009536, allocations: 0 / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.009552, allocations: 0 / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.009613, allocations: 12.19 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.009618, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.009654, allocations: 15.94 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.009662, allocations: 4 kB / 384.6 MB, free: 12.3 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.009742, allocations: 156.6 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.009777, allocations: 12.17 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.00992, allocations: 74.14 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009923, allocations: 3.984 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009927, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00993, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.01024, allocations: 321.3 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01024, allocations: 4 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.01029, allocations: 11.94 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01029, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.0103, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0103, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.0103, allocations: 3.984 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.01045, allocations: 219.8 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.01046, allocations: 3.953 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.01047, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.01053, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.01056, allocations: 11.98 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.01057, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.975e-05/0.01065, allocations: 145.5 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01065, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.01097, allocations: 39.86 kB / 385.6 MB, free: 11.24 MB / 362.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 (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.001314/0.01228, allocations: 492 kB / 386.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01241, allocations: 35.61 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01242, allocations: 0 / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.01285, allocations: 19.62 kB / 386.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01313, allocations: 27.92 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.01355, allocations: 165.9 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.01359, allocations: 63.34 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.01363, allocations: 7.984 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.01367, allocations: 16.5 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.744e-06/0.01367, allocations: 0 / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003553/0.01723, allocations: 1.829 MB / 388.2 MB, free: 8.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1444121168460697]