Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001019/0.001019, 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.001002/0.001002, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.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.315/0.315, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.788e-05, allocations: 4 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00219/0.002208, allocations: 1.687 MB / 327.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003434, allocations: 1.285 MB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.003487, allocations: 0 / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.003694, allocations: 23.8 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.003958, allocations: 91.42 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004195, allocations: 87.69 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004336, allocations: 67.78 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.004422, allocations: 15.97 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.004484, allocations: 31.92 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.004573, allocations: 27.89 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004587, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.004749, allocations: 95.88 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.004788, allocations: 15.92 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.004808, allocations: 11.94 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.004994, allocations: 135.5 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004996, allocations: 0 / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004997, allocations: 0 / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005, allocations: 0 / 329.5 MB, free: 3.52 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.0003105/0.005311, allocations: 302.4 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.005346, allocations: 20.02 kB / 329.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.005375, allocations: 4.938 kB / 329.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.005516, allocations: 128.2 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.005525, allocations: 4.375 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.005544, allocations: 8.312 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.005668, allocations: 90.36 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.005676, allocations: 192 / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.005684, allocations: 4.375 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005689, allocations: 384 / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.005709, allocations: 7.938 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.005897, allocations: 171 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006008, allocations: 26.56 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.006023, allocations: 16.94 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.006037, allocations: 3.984 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.006059, allocations: 38.62 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.006061, allocations: 0 / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.006302, allocations: 81.47 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.006335, allocations: 81.11 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.006432, allocations: 140.3 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.006441, allocations: 25.7 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.006473, allocations: 100.1 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.00649, allocations: 19.77 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.006521, allocations: 17.72 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.006599, allocations: 322.8 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.006609, allocations: 4 kB / 331.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.00664, allocations: 51.41 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.006668, allocations: 20.84 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006669, allocations: 0 / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.494e-05/0.006724, allocations: 41.69 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006736, allocations: 8 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006742, allocations: 7.969 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006753, allocations: 3.984 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.006792, allocations: 8 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.006795, allocations: 0 / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.006814, allocations: 11.94 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.006818, allocations: 0 / 331.3 MB, free: 1.594 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.449e-05/0.006872, allocations: 116.7 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.006889, allocations: 4 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.736e-05/0.006977, allocations: 62.08 kB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006978, allocations: 0 / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.006979, allocations: 4 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006983, allocations: 0 / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.007167, allocations: 210.8 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007168, allocations: 0 / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.007194, allocations: 12.3 kB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.007197, allocations: 3.938 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.007202, allocations: 4 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007204, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007205, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.007281, allocations: 147.5 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.007291, allocations: 15.94 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.007302, allocations: 7.938 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.007333, allocations: 4 kB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.007355, allocations: 4 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.00736, allocations: 7.984 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.007393, allocations: 34 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.007393, allocations: 0 / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.007569, allocations: 39.81 kB / 331.9 MB, free: 0.8672 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.001308/0.008876, allocations: 0.6137 MB / 332.6 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.008951, allocations: 20.86 kB / 332.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.008954, allocations: 0 / 332.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.008974, allocations: 24.77 kB / 332.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.009124, allocations: 20.77 kB / 332.6 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.009376, allocations: 162.8 kB / 332.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.009423, allocations: 59.36 kB / 332.8 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.009464, allocations: 11.97 kB / 332.8 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.009526, allocations: 67.36 kB / 332.9 MB, free: 124 kB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009527, allocations: 4 kB / 332.9 MB, free: 120 kB / 298.7 MB Notification: Performance of Templates: time 0.003251/0.01278, allocations: 1.981 MB / 334.9 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.0954457889311016]