Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001249/0.001249, allocations: 80.8 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.001361/0.001361, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.9304/0.9304, 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.2597/0.2597, allocations: 34.25 MB / 296.1 MB, free: 0.6445 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.CombiTable1Dv.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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.606e-05, allocations: 3.891 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002376/0.002402, allocations: 1.66 MB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.003124, allocations: 0.5413 MB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.003169, allocations: 0 / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.003392, allocations: 75.7 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.003608, allocations: 107.5 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.003815, allocations: 115.6 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.003941, allocations: 84.38 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.004015, allocations: 15.98 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.004075, allocations: 47.89 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.666e-05/0.004151, allocations: 35.89 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.004162, allocations: 4 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.004229, allocations: 47.86 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.00427, allocations: 19.92 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.004294, allocations: 19.92 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.004422, allocations: 91.61 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004424, allocations: 0 / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004425, allocations: 4 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004428, allocations: 0 / 328.1 MB, free: 4.766 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.0003063/0.004734, allocations: 313.6 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.004762, allocations: 8.031 kB / 328.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.004787, allocations: 4.938 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.004903, allocations: 146.2 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.00491, allocations: 384 / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.004927, allocations: 4.375 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.005005, allocations: 58.94 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005013, allocations: 192 / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.005021, allocations: 8.125 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005027, allocations: 4 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.005046, allocations: 4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.005245, allocations: 179 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.005295, allocations: 37.45 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005309, allocations: 8.859 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.005322, allocations: 0 / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.005343, allocations: 38.5 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005344, allocations: 0 / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003946/0.005738, allocations: 162 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.005765, allocations: 51.41 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.005864, allocations: 178.1 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005874, allocations: 25.7 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.005903, allocations: 96.11 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005923, allocations: 23.75 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005953, allocations: 25.7 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.006029, allocations: 322.8 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.006042, allocations: 7.984 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.006054, allocations: 8 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.00609, allocations: 31.66 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.006091, allocations: 0 / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.663e-05/0.006158, allocations: 69.77 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006168, allocations: 4 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006172, allocations: 0 / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006183, allocations: 0 / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.006243, allocations: 15.98 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.006245, allocations: 0 / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.006263, allocations: 4 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.006268, allocations: 0 / 329.9 MB, free: 2.801 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.43e-05/0.006322, allocations: 120.7 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.006341, allocations: 15.92 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.00673, allocations: 71.08 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006732, allocations: 4 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006735, allocations: 3.984 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006738, allocations: 0 / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.00696, allocations: 255.5 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006961, allocations: 0 / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.006995, allocations: 15.98 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006997, allocations: 4.031 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.007003, allocations: 4 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007004, allocations: 0 / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007005, allocations: 0 / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.949e-05/0.007084, allocations: 172.2 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.007092, allocations: 7.953 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.007102, allocations: 4 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.007132, allocations: 0 / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.007152, allocations: 7.984 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.007155, allocations: 0 / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.007191, allocations: 52.34 kB / 330.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007191, allocations: 4 kB / 330.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.007322, allocations: 19.94 kB / 330.7 MB, free: 1.984 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.00114/0.008462, allocations: 0.5826 MB / 331.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.5e-05/0.008537, allocations: 32.78 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.008541, allocations: 4 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.008569, allocations: 28.77 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.008717, allocations: 23.92 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.009007, allocations: 212.8 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.009045, allocations: 67.33 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.009078, allocations: 13.11 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.009128, allocations: 63.36 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009128, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of Templates: time 0.002875/0.012, allocations: 1.517 MB / 333.2 MB, free: 15.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.921666033100337]