Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009817/0.0009817, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00137/0.00137, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.08/1.08, allocations: 177.2 MB / 206.1 MB, free: 4.484 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.1422/0.1422, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.637e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003076/0.003102, allocations: 1.642 MB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.003883, allocations: 0.5181 MB / 379.4 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.003954, allocations: 0 / 379.4 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.004242, allocations: 79.7 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.004534, allocations: 111.5 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.004796, allocations: 91.62 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004987, allocations: 87.75 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.005108, allocations: 11.98 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.005196, allocations: 51.83 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005314, allocations: 55.86 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.005329, allocations: 0 / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.005417, allocations: 47.92 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.005477, allocations: 23.92 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.005505, allocations: 11.92 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005691, allocations: 95.61 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005694, allocations: 0 / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005695, allocations: 0 / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005701, allocations: 4 kB / 380.1 MB, free: 22.73 MB / 314.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.0003311/0.006032, allocations: 443.8 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.006062, allocations: 11.98 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.00609, allocations: 16.84 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.006206, allocations: 153.1 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.006215, allocations: 4.375 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.00623, allocations: 384 / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.006311, allocations: 54.95 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.00632, allocations: 4.188 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.006327, allocations: 4.125 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.006331, allocations: 4 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.00635, allocations: 11.92 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.006563, allocations: 268.4 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.006613, allocations: 39.03 kB / 381.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.006628, allocations: 15.69 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.006641, allocations: 3.938 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.006656, allocations: 45.27 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.006657, allocations: 0 / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003995/0.007057, allocations: 149.5 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.007077, allocations: 55.41 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.007171, allocations: 234.8 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.007178, allocations: 29.7 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.007226, allocations: 154.8 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.00725, allocations: 27.75 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.007278, allocations: 35.34 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.007327, allocations: 0.4923 MB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.00734, allocations: 4 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.007356, allocations: 16.05 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.007389, allocations: 35.61 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007391, allocations: 7.938 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.026e-05/0.007451, allocations: 69.64 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.007463, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007468, allocations: 0 / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.007474, allocations: 0 / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.007521, allocations: 15.98 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.007522, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.00754, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007544, allocations: 4 kB / 382.5 MB, free: 20.15 MB / 314.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 4.726e-05/0.007592, allocations: 172.4 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.007615, allocations: 15.91 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.99e-05/0.007714, allocations: 83.12 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.007716, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.007717, allocations: 0 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007719, allocations: 432 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.007924, allocations: 341.6 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007924, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.007954, allocations: 27.92 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007956, allocations: 3.938 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007962, allocations: 4.031 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007963, allocations: 4 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007965, allocations: 3.984 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.353e-05/0.008058, allocations: 227.9 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.008066, allocations: 7.906 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.008075, allocations: 8 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.008108, allocations: 3.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.008139, allocations: 7.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.008144, allocations: 7.984 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.008187, allocations: 163.1 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008187, allocations: 7.938 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.008348, allocations: 19.94 kB / 383.6 MB, free: 18.98 MB / 314.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.0008961/0.009244, allocations: 438.7 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.009323, allocations: 35.67 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009324, allocations: 0 / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.009346, allocations: 27.61 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.009552, allocations: 22.83 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.009822, allocations: 227.9 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.009847, allocations: 75.19 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.049e-05/0.009878, allocations: 13.03 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.009923, allocations: 82.19 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009924, allocations: 3.938 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003061/0.01299, allocations: 1.525 MB / 386 MB, free: 16.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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: 3.3893708302639425]