Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.0009877/0.0009877, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001144/0.001144, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2485/0.2485, allocations: 32.8 MB / 294.6 MB, free: 1.141 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.CombiTable1Ds.Test32,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.267e-05, allocations: 5.359 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002968/0.00299, allocations: 1.704 MB / 325 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.003924, allocations: 0.5296 MB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.003981, allocations: 4 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.004291, allocations: 107.6 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.004551, allocations: 115.5 kB / 325.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.004785, allocations: 103.6 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.004951, allocations: 91.73 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.00507, allocations: 8 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.00516, allocations: 55.81 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.005271, allocations: 59.86 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.005288, allocations: 4 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.005379, allocations: 43.92 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.005431, allocations: 27.91 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.005458, allocations: 11.94 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.005628, allocations: 95.59 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00563, allocations: 4 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005631, allocations: 4 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005635, allocations: 0 / 326.2 MB, free: 6.68 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.0003848/0.006019, allocations: 333.3 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.006053, allocations: 8.031 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.006085, allocations: 8.938 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006253, allocations: 150.3 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.006263, allocations: 4.375 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.006281, allocations: 384 / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.006402, allocations: 58.94 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.006414, allocations: 8.188 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.006424, allocations: 8.125 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006429, allocations: 0 / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.006455, allocations: 11.92 kB / 326.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.006698, allocations: 175.6 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.006758, allocations: 30.56 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.006777, allocations: 8.938 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.006792, allocations: 3.938 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.006819, allocations: 42.48 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.006821, allocations: 0 / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005087/0.007329, allocations: 145.6 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.00736, allocations: 51.41 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.007517, allocations: 193.6 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007529, allocations: 29.7 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.007574, allocations: 104 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.007601, allocations: 23.8 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.007638, allocations: 21.7 kB / 327.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.007734, allocations: 326.8 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.007751, allocations: 11.98 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.007768, allocations: 8 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.007812, allocations: 28.78 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007813, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.02e-05/0.007903, allocations: 61.61 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.007917, allocations: 8 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007921, allocations: 0 / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007932, allocations: 0 / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.00801, allocations: 15.98 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.008012, allocations: 0 / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.008041, allocations: 7.938 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.008047, allocations: 4 kB / 328.1 MB, free: 4.664 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.202e-05/0.008119, allocations: 124.6 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.008149, allocations: 7.938 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.008282, allocations: 87.77 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008285, allocations: 0 / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.008286, allocations: 0 / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.00829, allocations: 3.984 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.008595, allocations: 255.5 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008597, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.008655, allocations: 23.95 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008658, allocations: 0 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.008663, allocations: 0 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.008666, allocations: 8 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008667, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.008785, allocations: 160.3 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.0088, allocations: 15.89 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.008816, allocations: 4 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.00888, allocations: 0 / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.00891, allocations: 15.92 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.008915, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.258e-05/0.008988, allocations: 72.22 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008988, allocations: 0 / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.009204, allocations: 16 kB / 328.9 MB, free: 3.816 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.001779/0.01098, allocations: 0.5692 MB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.01108, allocations: 36.78 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01108, allocations: 0 / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.01112, allocations: 32.91 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01135, allocations: 27.17 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01176, allocations: 234.6 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.01181, allocations: 75.27 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.01187, allocations: 16.78 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.01193, allocations: 55.38 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01193, allocations: 0 / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Templates: time 0.004088/0.01602, allocations: 1.497 MB / 331.4 MB, free: 1.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.913135925773531]