Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001452/0.001452, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001/0.001, allocations: 168.5 kB / 24.82 MB, free: 9.258 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.9361/0.9361, allocations: 177 MB / 205.1 MB, free: 5.477 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.2501/0.2501, allocations: 34.87 MB / 296.6 MB, free: 448 kB / 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.CombiTable1Dv.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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.633e-05, allocations: 3.297 kB / 379.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002212/0.002238, allocations: 1.619 MB / 380.9 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.002955, allocations: 0.5408 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.003007, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.003194, allocations: 19.84 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.003402, allocations: 79.56 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.00359, allocations: 119.5 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003704, allocations: 67.78 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.003786, allocations: 19.83 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.003841, allocations: 27.92 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.003886, allocations: 15.92 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.003897, allocations: 3.938 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.003955, allocations: 39.97 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.003987, allocations: 8 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.004007, allocations: 15.92 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.004125, allocations: 71.73 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004127, allocations: 0 / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004127, allocations: 0 / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004131, allocations: 0 / 381.9 MB, free: 15.13 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.0003216/0.004452, allocations: 408.1 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.004485, allocations: 12.03 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.004513, allocations: 12.89 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.00461, allocations: 132.4 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.004619, allocations: 8.375 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.004633, allocations: 384 / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.004709, allocations: 54.95 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.004717, allocations: 192 / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.004724, allocations: 4.375 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004729, allocations: 384 / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.004749, allocations: 11.92 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.004973, allocations: 260.3 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.005133, allocations: 43.03 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.005148, allocations: 7.688 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.005168, allocations: 4 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.005186, allocations: 37.39 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.005187, allocations: 0 / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002526/0.00544, allocations: 93.53 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.005466, allocations: 55.41 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.005551, allocations: 196.8 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.00556, allocations: 29.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.005605, allocations: 146.8 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.005622, allocations: 19.78 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.005649, allocations: 27.36 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005753, allocations: 0.4884 MB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.005767, allocations: 7.984 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.005776, allocations: 8.188 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.005805, allocations: 23.69 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005806, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.914e-05/0.005865, allocations: 61.58 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.005876, allocations: 7.938 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005879, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.005889, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.00593, allocations: 15.92 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005933, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.005947, allocations: 0 / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.005951, allocations: 4 kB / 384 MB, free: 12.78 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.724e-05/0.006008, allocations: 160.6 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.006025, allocations: 7.953 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.006112, allocations: 66.08 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006114, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006116, allocations: 4 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006118, allocations: 0 / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.006307, allocations: 294 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006308, allocations: 4 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.006339, allocations: 11.98 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.006343, allocations: 7.938 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.006346, allocations: 192 / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006348, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006349, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.006434, allocations: 203.8 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.006444, allocations: 15.89 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.006452, allocations: 0 / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.006482, allocations: 4 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.006501, allocations: 3.984 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006504, allocations: 0 / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.569e-05/0.006549, allocations: 147.1 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006549, allocations: 4 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.006693, allocations: 16 kB / 385 MB, free: 11.78 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.0006871/0.00738, allocations: 392.2 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.007445, allocations: 31.61 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007446, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.007464, allocations: 15.69 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.007647, allocations: 19.94 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.007893, allocations: 178.5 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.007926, allocations: 63.34 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.007956, allocations: 15.97 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.008003, allocations: 78.2 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008004, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.002444/0.01045, allocations: 1.276 MB / 387 MB, free: 9.785 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.8186527430079877]