Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 168.7 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.937e-06/3.937e-06, allocations: 3.984 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/3.115e-05, allocations: 3.188 kB / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00356/0.003591, allocations: 1.729 MB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.004642, allocations: 0.5413 MB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.004711, allocations: 4 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.004977, allocations: 43.7 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.005254, allocations: 75.56 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.005487, allocations: 91.69 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.005626, allocations: 96.36 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.005708, allocations: 15.98 kB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.356e-05/0.005772, allocations: 47.83 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.005844, allocations: 23.92 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.005857, allocations: 4 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.005935, allocations: 55.91 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.005973, allocations: 15.92 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.006002, allocations: 24.41 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.006151, allocations: 95.59 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006153, allocations: 0 / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.006153, allocations: 0 / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.006158, allocations: 3.938 kB / 328.2 MB, free: 4.723 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003021/0.00646, allocations: 309.7 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.00649, allocations: 8.031 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.006518, allocations: 8.922 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.006644, allocations: 144.3 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.006652, allocations: 8.375 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.006672, allocations: 8.375 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.143e-05/0.006764, allocations: 62.94 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006773, allocations: 4.172 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00678, allocations: 4.125 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.006786, allocations: 4 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.006814, allocations: 16.97 kB / 328.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.007045, allocations: 194.9 kB / 328.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.007099, allocations: 38.56 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.007114, allocations: 12.86 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.007134, allocations: 11.92 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.007155, allocations: 38.66 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.007156, allocations: 0 / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004738/0.00763, allocations: 198.6 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.007657, allocations: 51.41 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.007749, allocations: 151.3 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.007759, allocations: 29.7 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.007791, allocations: 100.1 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.007822, allocations: 47.58 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.007853, allocations: 21.72 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.007935, allocations: 330.7 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.007953, allocations: 15.92 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.00797, allocations: 9.5 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.008019, allocations: 44.83 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.00802, allocations: 0 / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.408e-05/0.008104, allocations: 77.05 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008117, allocations: 6.188 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008122, allocations: 240 / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.008132, allocations: 4 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.008214, allocations: 27.92 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.008219, allocations: 8.078 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.008241, allocations: 11.94 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008248, allocations: 3.938 kB / 330.1 MB, free: 2.605 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 (13): * Single equations (assignments): 13 * 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.73e-05/0.008315, allocations: 116.7 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.008336, allocations: 11.98 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.008479, allocations: 94.31 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.008482, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008484, allocations: 4 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.00849, allocations: 3.984 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.008795, allocations: 279.5 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008797, allocations: 0 / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.008859, allocations: 23.98 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.008863, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008871, allocations: 4 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.008878, allocations: 11.86 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008879, allocations: 0 / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.009005, allocations: 178.3 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.009015, allocations: 11.95 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.009028, allocations: 7.969 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.009066, allocations: 11.94 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.009099, allocations: 7.984 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.009104, allocations: 0 / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.009141, allocations: 39.66 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009141, allocations: 3.938 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.009298, allocations: 27.92 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001339/0.01064, allocations: 0.5677 MB / 331.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.01075, allocations: 44.72 kB / 331.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.01076, allocations: 4 kB / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.01079, allocations: 36.72 kB / 331.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01098, allocations: 31.05 kB / 331.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01133, allocations: 232 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.01138, allocations: 71.33 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01142, allocations: 16.48 kB / 332 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.01148, allocations: 63.36 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01148, allocations: 4 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of Templates: time 0.00321/0.01469, allocations: 1.666 MB / 333.7 MB, free: 15.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.9537226487882435]