Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001055/0.001055, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001354/0.001354, allocations: 168.1 kB / 24.82 MB, free: 8.871 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.9457/0.9457, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2408/0.2408, allocations: 32.81 MB / 294.6 MB, free: 1.191 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.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.891e-05, allocations: 2.312 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002304/0.002323, allocations: 1.64 MB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003445, allocations: 1.266 MB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.003501, allocations: 4 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.00368, allocations: 27.78 kB / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.003937, allocations: 91.5 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.004141, allocations: 91.62 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.004258, allocations: 67.81 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/0.004335, allocations: 8 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.004393, allocations: 35.91 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.004475, allocations: 23.91 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.004489, allocations: 4 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.004618, allocations: 95.81 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.004653, allocations: 7.938 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.004675, allocations: 23.92 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004848, allocations: 131.5 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004849, allocations: 0 / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.00485, allocations: 3.938 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004854, allocations: 0 / 380 MB, free: 0.8555 MB / 346.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.0003378/0.005192, allocations: 428 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.005223, allocations: 12.03 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.005252, allocations: 8.891 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005363, allocations: 132.5 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.005372, allocations: 4.375 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.005388, allocations: 4.375 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.005487, allocations: 104 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005495, allocations: 4.188 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.005503, allocations: 4.125 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005508, allocations: 0 / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.005527, allocations: 12 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.005738, allocations: 260.3 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.005848, allocations: 42.98 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005862, allocations: 15.69 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.00588, allocations: 4 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.0059, allocations: 45.33 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.005901, allocations: 0 / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000245/0.006146, allocations: 81.66 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.006177, allocations: 81.11 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.006274, allocations: 193.8 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.006283, allocations: 33.64 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.006327, allocations: 142.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006346, allocations: 19.81 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.006373, allocations: 19.38 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006478, allocations: 0.4962 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.006488, allocations: 4 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.006517, allocations: 49.08 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.006548, allocations: 31.61 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006548, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.322e-05/0.006611, allocations: 53.59 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006623, allocations: 10.02 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.006626, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.006636, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.006674, allocations: 8 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-06/0.006676, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.006696, allocations: 4 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006701, allocations: 8.016 kB / 382.3 MB, free: 14.34 MB / 362.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 6.026e-05/0.006762, allocations: 152.6 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.006784, allocations: 19.89 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.006882, allocations: 62.09 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006885, allocations: 3.984 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.006887, allocations: 320 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00689, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.007112, allocations: 306 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007114, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.007144, allocations: 11.98 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007146, allocations: 4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.007151, allocations: 4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007153, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007154, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.007256, allocations: 203.8 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007266, allocations: 7.953 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.007277, allocations: 4 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.007311, allocations: 3.984 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.007332, allocations: 4 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.007335, allocations: 3.938 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.007392, allocations: 159.1 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007392, allocations: 0 / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.007583, allocations: 35.88 kB / 383.2 MB, free: 13.3 MB / 362.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.0008979/0.008481, allocations: 491.6 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.868e-05/0.00856, allocations: 31.67 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008561, allocations: 4 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.008581, allocations: 19.62 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.008775, allocations: 23.86 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.009046, allocations: 161.9 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.009078, allocations: 59.36 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.009119, allocations: 15.97 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.009186, allocations: 90.19 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.009187, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of Templates: time 0.003646/0.01283, allocations: 2.03 MB / 386.2 MB, free: 10.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.893739385996014]