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.001594/0.001594, 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.001844/0.001844, allocations: 162.9 kB / 24.99 MB, free: 8.262 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.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.613 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.2553/0.2553, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.989e-05, allocations: 4.703 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002375/0.002395, allocations: 1.63 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.003097, allocations: 0.5291 MB / 380.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.003166, allocations: 4 kB / 380.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.003383, allocations: 23.78 kB / 381 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.003619, allocations: 83.56 kB / 381 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.003815, allocations: 87.64 kB / 381.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.003949, allocations: 67.94 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.004036, allocations: 11.86 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.004088, allocations: 31.91 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.004138, allocations: 23.91 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.004149, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004214, allocations: 31.94 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.004254, allocations: 15.92 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004279, allocations: 7.938 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004415, allocations: 75.67 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004417, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004417, allocations: 4 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.004421, allocations: 0 / 381.4 MB, free: 15.75 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.0003363/0.004757, allocations: 404.2 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.004788, allocations: 8.031 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.004826, allocations: 12.89 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004947, allocations: 136.5 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.004957, allocations: 4.312 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.004974, allocations: 8.312 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.00507, allocations: 62.94 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.005079, allocations: 192 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.005086, allocations: 384 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005092, allocations: 384 / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.005122, allocations: 7.938 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.005414, allocations: 279.8 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.005563, allocations: 42.98 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.005585, allocations: 15.69 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.005605, allocations: 4 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005624, allocations: 33.39 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005625, allocations: 0 / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.005945, allocations: 101.5 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.005972, allocations: 55.39 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.006072, allocations: 197.9 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.006081, allocations: 25.7 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.006129, allocations: 146.9 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.006147, allocations: 15.8 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.006174, allocations: 27.38 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.006274, allocations: 0.4923 MB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.00629, allocations: 4 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.006305, allocations: 11.92 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.006338, allocations: 27.69 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.006339, allocations: 0 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.583e-05/0.006405, allocations: 61.58 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006415, allocations: 4 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006419, allocations: 0 / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.006428, allocations: 0 / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.006466, allocations: 8 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006471, allocations: 8 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.006488, allocations: 3.984 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.006493, allocations: 4 kB / 383.6 MB, free: 13.36 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 5.703e-05/0.00655, allocations: 160.5 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.006568, allocations: 12.14 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.006664, allocations: 70.14 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006666, allocations: 3.938 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.006669, allocations: 0 / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006671, allocations: 0 / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.006869, allocations: 321.4 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00687, allocations: 4 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.006898, allocations: 11.98 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006899, allocations: 288 / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.006905, allocations: 4 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006906, allocations: 0 / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006907, allocations: 0 / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.876e-05/0.007006, allocations: 215.8 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.007012, allocations: 3.953 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.007024, allocations: 11.98 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.007055, allocations: 0 / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.007079, allocations: 8 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.007082, allocations: 0 / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.007135, allocations: 150.2 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007135, allocations: 0 / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.00729, allocations: 16 kB / 384.5 MB, free: 12.31 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.000758/0.008048, allocations: 378 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.008138, allocations: 27.67 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008139, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.008161, allocations: 27.75 kB / 385 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.008365, allocations: 23.86 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.008652, allocations: 174.6 kB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.008689, allocations: 63.34 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.008717, allocations: 15.97 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.008741, allocations: 12.5 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.008742, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of Templates: time 0.002743/0.01148, allocations: 1.149 MB / 386.4 MB, free: 10.51 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] 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","",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.1094018518924713]