Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001001/0.001001, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001152/0.001152, allocations: 166.3 kB / 24.91 MB, free: 9.199 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.272/0.272, allocations: 34.27 MB / 296.1 MB, free: 0.7461 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.738e-05, allocations: 2.312 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003601/0.003628, allocations: 1.706 MB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.004662, allocations: 0.5374 MB / 327.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.004734, allocations: 0 / 327.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.005039, allocations: 75.64 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.005361, allocations: 99.58 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.005672, allocations: 95.62 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.005862, allocations: 88.38 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.005961, allocations: 11.94 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.006054, allocations: 43.88 kB / 328 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.006158, allocations: 39.91 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.006175, allocations: 4 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.006284, allocations: 47.91 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.006334, allocations: 19.92 kB / 328.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.006362, allocations: 11.94 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.006548, allocations: 91.59 kB / 328.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00655, allocations: 0 / 328.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006551, allocations: 4 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.006556, allocations: 4 kB / 328.2 MB, free: 4.754 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003967/0.006952, allocations: 309.6 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.006988, allocations: 8.031 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.007028, allocations: 16.92 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.007189, allocations: 134.3 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.007199, allocations: 8.312 kB / 328.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.007219, allocations: 4.375 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.007329, allocations: 58.94 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007341, allocations: 192 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.007352, allocations: 8.125 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007358, allocations: 4 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.007386, allocations: 8 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.007649, allocations: 167.1 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.831e-05/0.007708, allocations: 34.5 kB / 328.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.007728, allocations: 12.86 kB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.007746, allocations: 3.938 kB / 328.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.00777, allocations: 34.5 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.007772, allocations: 0 / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005308/0.008302, allocations: 150.5 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.008333, allocations: 51.41 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.008473, allocations: 178.1 kB / 329.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.00849, allocations: 25.7 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.00853, allocations: 92.11 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.008564, allocations: 31.73 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.008602, allocations: 25.7 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.008696, allocations: 322.8 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.008714, allocations: 8 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.008729, allocations: 4 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.008777, allocations: 33.05 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008779, allocations: 4 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.97e-05/0.008868, allocations: 61.59 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.008882, allocations: 8 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008888, allocations: 7.938 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.008903, allocations: 0 / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.062e-05/0.008983, allocations: 15.98 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.008986, allocations: 0 / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.009015, allocations: 8 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.009024, allocations: 3.984 kB / 330 MB, free: 2.789 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 (8): * Single equations (assignments): 8 * 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 7.394e-05/0.009098, allocations: 116.7 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.009128, allocations: 11.94 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.009264, allocations: 71.06 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009268, allocations: 4 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.009269, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009273, allocations: 0 / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.009596, allocations: 251.5 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009598, allocations: 0 / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.009656, allocations: 19.92 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.00966, allocations: 4 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.009668, allocations: 8.031 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.00967, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009671, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.009791, allocations: 160.3 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.009803, allocations: 7.953 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.009819, allocations: 8 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.00988, allocations: 3.984 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.00991, allocations: 7.984 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.009918, allocations: 3.984 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.009978, allocations: 48.36 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009978, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.01022, allocations: 27.92 kB / 330.7 MB, free: 1.98 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 (8): * Single equations (assignments): 8 * 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.001714/0.01194, allocations: 0.5648 MB / 331.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.01205, allocations: 44.72 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01206, allocations: 0 / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.01209, allocations: 24.8 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01235, allocations: 15.98 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.01279, allocations: 216.7 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01284, allocations: 67.34 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.0129, allocations: 17.08 kB / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.01297, allocations: 67.36 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01297, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of Templates: time 0.004476/0.01745, allocations: 1.478 MB / 333.2 MB, free: 15.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.0101485969498754]