Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001081/0.001081, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001312/0.001312, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 1.024/1.024, allocations: 177 MB / 205.9 MB, free: 4.457 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.1653/0.1653, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.284e-05/3.479e-05, allocations: 5.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002745/0.00278, allocations: 1.68 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008789/0.003659, allocations: 0.5291 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.003746, allocations: 4 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.004036, allocations: 39.7 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.004385, allocations: 87.56 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.004677, allocations: 91.69 kB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.004856, allocations: 95.67 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004982, allocations: 19.98 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.005069, allocations: 43.89 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.005167, allocations: 23.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.005183, allocations: 4 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.00529, allocations: 51.91 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.005345, allocations: 19.94 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.005376, allocations: 23.91 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005566, allocations: 95.59 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.005572, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005573, allocations: 0 / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005578, allocations: 4 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003623/0.00594, allocations: 428 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005978, allocations: 12.03 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.006017, allocations: 8.891 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.006147, allocations: 152.4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.006158, allocations: 8.312 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.006175, allocations: 8.375 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.00628, allocations: 62.94 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.006292, allocations: 8.141 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006302, allocations: 8.359 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.006308, allocations: 384 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.006348, allocations: 23.86 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.006607, allocations: 280.3 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.006678, allocations: 47.03 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.0067, allocations: 23.62 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.006716, allocations: 3.984 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.006735, allocations: 41.33 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.006736, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005564/0.007293, allocations: 208.8 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.007317, allocations: 55.41 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.00741, allocations: 204.8 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.007419, allocations: 29.7 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.007455, allocations: 154.7 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.007486, allocations: 47.62 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.007561, allocations: 35.36 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.007613, allocations: 0.4961 MB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.007637, allocations: 15.98 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.00766, allocations: 11.98 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.00772, allocations: 47.67 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007722, allocations: 4 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001152/0.007837, allocations: 93.58 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.00785, allocations: 8 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007855, allocations: 0 / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.007865, allocations: 3.938 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.007957, allocations: 27.98 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.00796, allocations: 0 / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.007988, allocations: 8 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.007995, allocations: 3.984 kB / 385.4 MB, free: 17.19 MB / 314.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 (13): * Single equations (assignments): 13 * 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 5.697e-05/0.008052, allocations: 164.5 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.008086, allocations: 11.95 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.008254, allocations: 121.8 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008256, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008258, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.008265, allocations: 7.984 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.008599, allocations: 389.2 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008601, allocations: 0 / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.008673, allocations: 31.91 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008676, allocations: 0 / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008685, allocations: 8 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008687, allocations: 0 / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.008691, allocations: 3.938 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.008828, allocations: 247.5 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.00884, allocations: 7.953 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.008855, allocations: 12.02 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.008917, allocations: 4 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.008946, allocations: 11.92 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.008954, allocations: 4 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.009004, allocations: 151.1 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009004, allocations: 3.938 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.009247, allocations: 23.94 kB / 386.5 MB, free: 15.94 MB / 314.7 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 (13): * Single equations (assignments): 13 * 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.001223/0.01047, allocations: 431.2 kB / 387 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.01059, allocations: 63.53 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01059, allocations: 0 / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.01063, allocations: 47.59 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01091, allocations: 15.98 kB / 387.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.01129, allocations: 232.5 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01133, allocations: 71.2 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.01138, allocations: 20.53 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.01145, allocations: 86.19 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01145, allocations: 0 / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.00434/0.01579, allocations: 1.719 MB / 389.2 MB, free: 13.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.3737838519737124]