Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001368/0.001368, allocations: 81.86 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.001487/0.001487, allocations: 172 kB / 24.82 MB, free: 8.77 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.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2156/0.2156, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.484e-05, allocations: 8.781 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001835/0.00185, allocations: 1.638 MB / 378.1 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002966, allocations: 1.27 MB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.00303, allocations: 0 / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.003218, allocations: 23.84 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.003458, allocations: 87.5 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.003633, allocations: 91.62 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.003751, allocations: 75.77 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.00383, allocations: 11.98 kB / 379.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.003887, allocations: 27.92 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.003971, allocations: 27.89 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003986, allocations: 4 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.004096, allocations: 95.81 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.004129, allocations: 11.94 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.004151, allocations: 15.92 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.004312, allocations: 127.6 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.004313, allocations: 0 / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004314, allocations: 4 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004317, allocations: 4 kB / 380 MB, free: 0.8672 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.000321/0.004638, allocations: 435.8 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004669, allocations: 8.031 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.004695, allocations: 8.891 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.004805, allocations: 136.5 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.004813, allocations: 384 / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.004827, allocations: 4.375 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.004928, allocations: 96.03 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004936, allocations: 192 / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.004943, allocations: 4.125 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004947, allocations: 4 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.004967, allocations: 15.92 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.005173, allocations: 256.4 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005279, allocations: 35.06 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.005294, allocations: 19.77 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.00531, allocations: 3.938 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.005331, allocations: 41.33 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005331, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002262/0.005558, allocations: 89.48 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.005588, allocations: 81.11 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.005685, allocations: 197.9 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.005693, allocations: 25.7 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.005738, allocations: 138.8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005758, allocations: 27.81 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.005786, allocations: 19.38 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.005898, allocations: 496.1 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.005909, allocations: 7.984 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.005942, allocations: 57.14 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.00597, allocations: 19.67 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.005971, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.506e-05/0.006036, allocations: 69.56 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.006046, allocations: 9.812 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006049, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.00606, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.006097, allocations: 11.98 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006099, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.006117, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.00612, allocations: 0 / 382.3 MB, free: 14.36 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 5.883e-05/0.006179, allocations: 160.6 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.006198, allocations: 11.89 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.569e-05/0.006284, allocations: 74.08 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.006285, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006287, allocations: 4 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.00629, allocations: 4.266 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.006487, allocations: 290 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006487, allocations: 0 / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.006512, allocations: 20.23 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006514, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006519, allocations: 7.984 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00652, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006521, allocations: 4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.006613, allocations: 203.8 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.006622, allocations: 7.953 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.006632, allocations: 4 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.006666, allocations: 4 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.006683, allocations: 3.984 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.006686, allocations: 0 / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.782e-05/0.006733, allocations: 147.1 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006733, allocations: 4 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.006908, allocations: 31.88 kB / 383.2 MB, free: 13.33 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.0008263/0.007734, allocations: 0.4931 MB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.007806, allocations: 27.67 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007807, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.007825, allocations: 15.69 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.008003, allocations: 31.86 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.008214, allocations: 161.9 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.00825, allocations: 63.34 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.008282, allocations: 15.97 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.008343, allocations: 90.19 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008344, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003003/0.01135, allocations: 2.029 MB / 386.1 MB, free: 10.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.838082151953131]