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.0009175/0.0009175, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0009137/0.0009137, allocations: 166.2 kB / 24.91 MB, free: 8.773 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.9398/0.9398, allocations: 177 MB / 205.2 MB, free: 5.445 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.2747/0.2747, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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 1.713e-06/1.713e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.617e-05, allocations: 2.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002801/0.002817, allocations: 1.637 MB / 327.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004506, allocations: 1.289 MB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.004558, allocations: 0 / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.004834, allocations: 27.78 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.005147, allocations: 91.48 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.005403, allocations: 87.69 kB / 329.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.005545, allocations: 71.72 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.005631, allocations: 11.98 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.005704, allocations: 31.91 kB / 329.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005804, allocations: 31.91 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.005819, allocations: 4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.005974, allocations: 87.88 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.006017, allocations: 11.94 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.006047, allocations: 19.91 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.006269, allocations: 135.5 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006271, allocations: 0 / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006272, allocations: 0 / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.006275, allocations: 0 / 329.4 MB, free: 3.613 MB / 298.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.0003832/0.006658, allocations: 306.4 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006691, allocations: 8.031 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.006723, allocations: 8.938 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.006874, allocations: 129.7 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.006882, allocations: 4.375 kB / 329.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.006903, allocations: 4.375 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.00702, allocations: 94.36 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007029, allocations: 192 / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.007035, allocations: 384 / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.007041, allocations: 384 / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.007069, allocations: 15.92 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.007284, allocations: 163 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.007414, allocations: 34.56 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.007431, allocations: 8.922 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.007446, allocations: 8 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007468, allocations: 30.56 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.007469, allocations: 0 / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002856/0.007755, allocations: 89.55 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.007795, allocations: 77.11 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.007911, allocations: 142.2 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.008041, allocations: 29.7 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.008078, allocations: 92.08 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.008098, allocations: 23.77 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.008134, allocations: 25.7 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.008219, allocations: 314.8 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.008233, allocations: 4 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.008267, allocations: 47.41 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.008303, allocations: 21.03 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008304, allocations: 0 / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.013e-05/0.008374, allocations: 49.69 kB / 331.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.008384, allocations: 7.938 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.008394, allocations: 3.938 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008405, allocations: 4.031 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.008457, allocations: 15.92 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.008459, allocations: 0 / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.00849, allocations: 4 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.008495, allocations: 0 / 331.2 MB, free: 1.691 MB / 298.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.418e-05/0.008559, allocations: 116.7 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.008588, allocations: 7.984 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.00869, allocations: 58.09 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008692, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.008693, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.008698, allocations: 7.984 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.008942, allocations: 210.8 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008944, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.00899, allocations: 8 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.008993, allocations: 3.938 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.008998, allocations: 0 / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009, allocations: 0 / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009001, allocations: 0 / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.009109, allocations: 155.7 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.009121, allocations: 7.953 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.009137, allocations: 3.938 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.009201, allocations: 12 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.009225, allocations: 3.984 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.009231, allocations: 4 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.009279, allocations: 31.66 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009279, allocations: 0 / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.009556, allocations: 39.86 kB / 331.8 MB, free: 0.9688 MB / 298.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.001808/0.01136, allocations: 0.6132 MB / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.01146, allocations: 24.78 kB / 332.5 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.01146, allocations: 0 / 332.5 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.01148, allocations: 16.98 kB / 332.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.0117, allocations: 31.61 kB / 332.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.01203, allocations: 166.8 kB / 332.7 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01208, allocations: 63.34 kB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.01213, allocations: 11.97 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.01222, allocations: 67.36 kB / 332.8 MB, free: 224 kB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01222, allocations: 7.938 kB / 332.8 MB, free: 216 kB / 298.7 MB Notification: Performance of Templates: time 0.004082/0.0163, allocations: 1.968 MB / 334.8 MB, free: 14.25 MB / 314.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: 2.9562039407901466]