Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001015/0.001015, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001013/0.001013, allocations: 161.8 kB / 24.99 MB, free: 8.77 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.9447/0.9447, allocations: 177 MB / 205.2 MB, free: 5.609 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.263/0.263, allocations: 34.87 MB / 296.6 MB, free: 0.5586 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.862e-05, allocations: 4.562 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002715/0.002744, allocations: 1.626 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004033, allocations: 1.273 MB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.004108, allocations: 0 / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.004384, allocations: 23.84 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.004774, allocations: 91.44 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.005062, allocations: 87.69 kB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.005222, allocations: 75.7 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.005317, allocations: 19.84 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.918e-05/0.005376, allocations: 31.91 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.00548, allocations: 27.91 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.005497, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.005659, allocations: 87.88 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.005707, allocations: 11.94 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.005736, allocations: 11.98 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.005949, allocations: 135.5 kB / 382.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005952, allocations: 4 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005953, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.005958, allocations: 4 kB / 382.3 MB, free: 14.86 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.0004313/0.006389, allocations: 424 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.006435, allocations: 8.031 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.006488, allocations: 8.891 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.006661, allocations: 140.5 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.006671, allocations: 384 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.006695, allocations: 8.312 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.006849, allocations: 108 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006858, allocations: 192 / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.006868, allocations: 384 / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.006877, allocations: 8.375 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.006909, allocations: 11.94 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.007196, allocations: 271.7 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.007349, allocations: 43.05 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.007371, allocations: 15.69 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.007393, allocations: 3.984 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.007418, allocations: 37.48 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.007419, allocations: 0 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003594/0.007778, allocations: 109.3 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.007821, allocations: 77.11 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.007946, allocations: 197.9 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.007958, allocations: 29.7 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.008014, allocations: 142.8 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.008036, allocations: 19.8 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.00807, allocations: 27.36 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.008191, allocations: 0.4884 MB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.008208, allocations: 7.938 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.008244, allocations: 53.06 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.00828, allocations: 23.69 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.008281, allocations: 0 / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.686e-05/0.008358, allocations: 61.66 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.00837, allocations: 4 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.008374, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.008387, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.008431, allocations: 19.92 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.008437, allocations: 256 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.008459, allocations: 7.953 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.008465, allocations: 8 kB / 384.6 MB, free: 12.29 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 6.572e-05/0.008531, allocations: 156.5 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.008553, allocations: 15.89 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.00867, allocations: 70.14 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008671, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008675, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008678, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.008913, allocations: 325.3 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.008915, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.008944, allocations: 11.98 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008947, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.008953, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008955, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008956, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.009092, allocations: 215.8 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.009109, allocations: 7.953 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.009129, allocations: 3.984 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.009173, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.009205, allocations: 8 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.009209, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.009282, allocations: 153.7 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009282, allocations: 0 / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.009484, allocations: 39.86 kB / 385.6 MB, free: 11.22 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.0009662/0.01045, allocations: 490 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01056, allocations: 31.61 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01056, allocations: 0 / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.01058, allocations: 19.67 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.01078, allocations: 27.91 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.0111, allocations: 169.9 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.01114, allocations: 63.34 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.01118, allocations: 8 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.01121, allocations: 16.48 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01121, allocations: 0 / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.003409/0.01462, allocations: 1.828 MB / 388.2 MB, free: 8.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.1713731999043375]