Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009777/0.0009777, allocations: 80.8 kB / 21.49 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.001094/0.001094, allocations: 175.1 kB / 24.92 MB, free: 9.184 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 0.9825/0.9825, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2667/0.2667, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.293e-05, allocations: 9.859 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001906/0.001919, allocations: 1.666 MB / 325 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000666/0.002585, allocations: 0.5452 MB / 325.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.002628, allocations: 4 kB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.002798, allocations: 19.8 kB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.002984, allocations: 83.61 kB / 325.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.003195, allocations: 115.5 kB / 325.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.0033, allocations: 63.84 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.003367, allocations: 15.97 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.003418, allocations: 31.86 kB / 325.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.003463, allocations: 15.92 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.003473, allocations: 0 / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.00353, allocations: 31.98 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.003563, allocations: 19.92 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.003581, allocations: 11.94 kB / 325.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003691, allocations: 83.66 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003692, allocations: 0 / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.003693, allocations: 0 / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.003695, allocations: 0 / 326 MB, free: 6.887 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.000255/0.00395, allocations: 293.5 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.003976, allocations: 12.02 kB / 326.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.003998, allocations: 4.938 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.004117, allocations: 134.2 kB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.004124, allocations: 4.375 kB / 326.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.004137, allocations: 4.375 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.154e-05/0.004208, allocations: 62.7 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004216, allocations: 0 / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.004221, allocations: 0 / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.004225, allocations: 0 / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.004243, allocations: 7.984 kB / 326.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.004419, allocations: 171.7 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.004517, allocations: 33.39 kB / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.00453, allocations: 8.859 kB / 326.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.004543, allocations: 3.938 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.004559, allocations: 38.64 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.00456, allocations: 0 / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002445/0.004804, allocations: 81.55 kB / 326.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.004827, allocations: 55.41 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.004904, allocations: 152.3 kB / 327 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.004913, allocations: 29.7 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.004938, allocations: 96.05 kB / 327.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.004956, allocations: 19.8 kB / 327.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.00498, allocations: 21.7 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.005043, allocations: 322.8 kB / 327.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.005053, allocations: 7.984 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.005066, allocations: 4 kB / 327.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.005093, allocations: 23.67 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005094, allocations: 192 / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.843e-05/0.005142, allocations: 49.62 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.005151, allocations: 8 kB / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.005154, allocations: 0 / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.005163, allocations: 0 / 327.6 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.005198, allocations: 19.86 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005201, allocations: 3.984 kB / 327.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.005218, allocations: 12 kB / 327.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.005221, allocations: 0 / 327.6 MB, free: 5.074 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 0.0001036/0.005325, allocations: 112.7 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.005343, allocations: 11.92 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.005417, allocations: 54.16 kB / 327.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.005419, allocations: 0 / 327.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005421, allocations: 3.984 kB / 327.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005424, allocations: 4.281 kB / 327.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.005587, allocations: 210.7 kB / 328 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.00559, allocations: 3.984 kB / 328 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.005614, allocations: 12 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005617, allocations: 3.984 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.005621, allocations: 4 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.005622, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005623, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.205e-05/0.005685, allocations: 151.7 kB / 328.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-06/0.005693, allocations: 11.95 kB / 328.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-06/0.005702, allocations: 4 kB / 328.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.00573, allocations: 0 / 328.2 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.005749, allocations: 7.984 kB / 328.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.005752, allocations: 4 kB / 328.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.005781, allocations: 43.52 kB / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005781, allocations: 0 / 328.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.005902, allocations: 19.98 kB / 328.3 MB, free: 4.367 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.0009434/0.006845, allocations: 0.4977 MB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.628e-05/0.006911, allocations: 28.8 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.006914, allocations: 0 / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.006931, allocations: 16.84 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.00708, allocations: 26.88 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.007316, allocations: 178.9 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.007346, allocations: 63.34 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.007372, allocations: 11.97 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.007415, allocations: 59.38 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007415, allocations: 0 / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of Templates: time 0.002554/0.009969, allocations: 1.268 MB / 330.4 MB, free: 2.453 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.7957122400403023]