Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.000977/0.000977, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001034/0.001034, allocations: 170.1 kB / 24.91 MB, free: 8.758 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.063/1.063, 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.3307/0.3307, allocations: 34.86 MB / 296.6 MB, free: 468 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.CombiTable1Ds.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.496e-05/4.728e-05, allocations: 2.312 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003493/0.00354, allocations: 1.684 MB / 327.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005603, allocations: 1.281 MB / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.005669, allocations: 0 / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.005929, allocations: 27.78 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.006254, allocations: 75.56 kB / 329 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.00653, allocations: 103.6 kB / 329.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.006694, allocations: 67.81 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.006804, allocations: 4 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.282e-05/0.006887, allocations: 43.84 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.007021, allocations: 24.53 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.007039, allocations: 4 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.007239, allocations: 91.86 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.007284, allocations: 11.94 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.007316, allocations: 20.67 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.007654, allocations: 139.5 kB / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007658, allocations: 0 / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.00766, allocations: 0 / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.007666, allocations: 0 / 329.5 MB, free: 3.484 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.0004288/0.008095, allocations: 301.7 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.008132, allocations: 8.031 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.008173, allocations: 8.922 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.008369, allocations: 129.7 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.008378, allocations: 384 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.008399, allocations: 4.375 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.008558, allocations: 94.31 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.008571, allocations: 4.188 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008583, allocations: 4.375 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.00859, allocations: 384 / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.008618, allocations: 11.92 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.00888, allocations: 163 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.009041, allocations: 38.56 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.009059, allocations: 12.86 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009076, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.009101, allocations: 30.56 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.009103, allocations: 4 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003018/0.009405, allocations: 81.62 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.009442, allocations: 77.11 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.009558, allocations: 144.3 kB / 330.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.009571, allocations: 29.69 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.009607, allocations: 92.08 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.009628, allocations: 15.84 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.009663, allocations: 25.69 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.009749, allocations: 314.8 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.009762, allocations: 11.92 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.009798, allocations: 51.48 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01001, allocations: 20.78 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01001, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.153e-05/0.01009, allocations: 49.69 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.0101, allocations: 4 kB / 331.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.01011, allocations: 3.938 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01012, allocations: 0 / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.01018, allocations: 16.27 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.01018, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.01021, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.01021, allocations: 4 kB / 331.3 MB, free: 1.57 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 5.847e-05/0.01027, allocations: 112.7 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.01029, allocations: 15.92 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.01039, allocations: 58.08 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01039, allocations: 4 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.0104, allocations: 3.984 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0104, allocations: 0 / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.01094, allocations: 214.8 kB / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01094, allocations: 0 / 331.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.01098, allocations: 12.31 kB / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.01099, allocations: 3.938 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.01099, allocations: 12 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01099, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.011, allocations: 0 / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.01108, allocations: 139.5 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.01109, allocations: 7.953 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.0111, allocations: 7.938 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.01114, allocations: 7.984 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.01117, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.01117, allocations: 3.938 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.01121, allocations: 33.84 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.01138, allocations: 43.8 kB / 331.9 MB, free: 0.8398 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.001348/0.01273, allocations: 0.6201 MB / 332.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.0128, allocations: 24.84 kB / 332.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.01281, allocations: 4 kB / 332.6 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/0.01283, allocations: 16.8 kB / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.01298, allocations: 16.77 kB / 332.6 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.01326, allocations: 162.8 kB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.0133, allocations: 63.34 kB / 332.8 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.01334, allocations: 15.97 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.0134, allocations: 63.36 kB / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01341, allocations: 0 / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of Templates: time 0.003662/0.01707, allocations: 1.985 MB / 334.9 MB, free: 14.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.080988178960979]