Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001259/0.001259, allocations: 80.8 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.001666/0.001666, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2568/0.2568, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.469e-05, allocations: 3.156 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002268/0.002282, allocations: 1.7 MB / 325 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.003052, allocations: 0.5452 MB / 325.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.003101, allocations: 0 / 325.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.003332, allocations: 95.67 kB / 325.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.003529, allocations: 111.5 kB / 325.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.003726, allocations: 111.6 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.003851, allocations: 91.75 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.003928, allocations: 11.98 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.003993, allocations: 59.81 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.004071, allocations: 43.88 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004083, allocations: 4 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.00415, allocations: 43.92 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.004186, allocations: 23.94 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.004209, allocations: 15.92 kB / 326.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004339, allocations: 95.59 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.004341, allocations: 0 / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004341, allocations: 0 / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004345, allocations: 0 / 326.2 MB, free: 6.672 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.0003094/0.004654, allocations: 325.3 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.004685, allocations: 12.03 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.004714, allocations: 12.92 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.004851, allocations: 137.6 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.004859, allocations: 4.375 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.004878, allocations: 4.375 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/0.004962, allocations: 58.94 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.004971, allocations: 4.141 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.004982, allocations: 8.125 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004988, allocations: 3.984 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.005014, allocations: 11.94 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.005227, allocations: 171.7 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.005277, allocations: 33.39 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.005291, allocations: 12.8 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.005307, allocations: 4 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.00533, allocations: 38.44 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.005331, allocations: 0 / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.005736, allocations: 146 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.005762, allocations: 51.41 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.005873, allocations: 192.2 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.005883, allocations: 25.7 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.00592, allocations: 104 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.005943, allocations: 23.8 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.005976, allocations: 21.69 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.006052, allocations: 326.8 kB / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.006063, allocations: 4 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.006076, allocations: 8 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/0.006112, allocations: 39.58 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006113, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.966e-05/0.006173, allocations: 57.62 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.006183, allocations: 4 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006187, allocations: 11.97 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.006196, allocations: 0 / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.006249, allocations: 12 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006251, allocations: 0 / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.00627, allocations: 7.984 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.006275, allocations: 0 / 328.1 MB, free: 4.672 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 5.261e-05/0.006328, allocations: 120.6 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.006347, allocations: 7.938 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.006446, allocations: 91.36 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006448, allocations: 4 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00645, allocations: 0 / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006453, allocations: 0 / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.006674, allocations: 251.5 kB / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006675, allocations: 3.938 kB / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.006709, allocations: 16 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.006711, allocations: 3.984 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.006716, allocations: 0 / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006717, allocations: 3.938 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006719, allocations: 8.031 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.006806, allocations: 164.3 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.006815, allocations: 11.91 kB / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006826, allocations: 0 / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.006859, allocations: 4 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.006881, allocations: 3.984 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.006888, allocations: 4 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.006933, allocations: 55.64 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006933, allocations: 0 / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.007066, allocations: 23.94 kB / 328.8 MB, free: 3.836 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.001182/0.008249, allocations: 0.5734 MB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.008323, allocations: 36.77 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.008327, allocations: 0 / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.008351, allocations: 28.94 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008514, allocations: 23.98 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.008816, allocations: 243.5 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.008861, allocations: 71.34 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.008894, allocations: 12.72 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.008946, allocations: 59.42 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008947, allocations: 4 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of Templates: time 0.003553/0.0125, allocations: 1.53 MB / 331.4 MB, free: 1.523 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.945347397122532]