Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.00151/0.00151, allocations: 75.77 kB / 21.18 MB, free: 3.375 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.001558/0.001558, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9291/0.9291, allocations: 177.1 MB / 205 MB, free: 5.602 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.2698/0.2698, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.124e-05, allocations: 2.312 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002183/0.002204, allocations: 1.657 MB / 377.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.002969, allocations: 0.5376 MB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.00303, allocations: 3.938 kB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.003386, allocations: 127.6 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.003684, allocations: 127.5 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.003898, allocations: 87.69 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004061, allocations: 103.7 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.004158, allocations: 16 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.004233, allocations: 59.86 kB / 378.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004344, allocations: 83.83 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.004358, allocations: 0 / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.004436, allocations: 51.91 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.004486, allocations: 23.92 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.004515, allocations: 19.88 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.004674, allocations: 103.5 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004676, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004677, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004681, allocations: 4 kB / 379 MB, free: 1.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004549/0.005136, allocations: 471.7 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.005177, allocations: 8.031 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.005228, allocations: 16.84 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005382, allocations: 148.4 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005395, allocations: 8.375 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.00542, allocations: 4.312 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.005548, allocations: 62.94 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.00556, allocations: 4.172 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.005571, allocations: 4.125 kB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.005579, allocations: 4 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.005614, allocations: 8 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.005952, allocations: 311.6 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.006018, allocations: 39 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.006043, allocations: 19.7 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.006065, allocations: 4 kB / 380.1 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.006087, allocations: 33.39 kB / 380.1 MB, free: 372 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.006088, allocations: 0 / 380.1 MB, free: 372 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005115/0.006599, allocations: 177.2 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.00663, allocations: 55.34 kB / 380.4 MB, free: 120 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.006805, allocations: 278.8 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.006818, allocations: 25.7 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.006882, allocations: 170.8 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.006905, allocations: 27.88 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.006938, allocations: 27.36 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.007061, allocations: 0.504 MB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.007083, allocations: 11.98 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.007099, allocations: 8 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.007147, allocations: 43.91 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007148, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.403e-05/0.007232, allocations: 77.53 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.007245, allocations: 7.984 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007249, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.007258, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.007327, allocations: 16 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007333, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.007353, allocations: 7.922 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007359, allocations: 4 kB / 381.6 MB, free: 14.86 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 (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 6.438e-05/0.007424, allocations: 164.5 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.007444, allocations: 16.33 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.007564, allocations: 91.06 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007566, allocations: 4 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.00757, allocations: 3.984 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007574, allocations: 3.984 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.007851, allocations: 389 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007853, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.007887, allocations: 12 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.00789, allocations: 4.031 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.007897, allocations: 4 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007899, allocations: 3.984 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0079, allocations: 0 / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.008026, allocations: 251.3 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.008035, allocations: 7.953 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008047, allocations: 3.938 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.008084, allocations: 11.98 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.008114, allocations: 3.938 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.00812, allocations: 8 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.008211, allocations: 192.1 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008211, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.008376, allocations: 19.98 kB / 382.7 MB, free: 13.6 MB / 362.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.0008376/0.009214, allocations: 443.2 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.009307, allocations: 43.61 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009309, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.009338, allocations: 31.61 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.009537, allocations: 19.94 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.009873, allocations: 267.2 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.009915, allocations: 75.33 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.009947, allocations: 17.02 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.009972, allocations: 16.5 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009973, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003019/0.01299, allocations: 1.506 MB / 385.1 MB, free: 11.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.9767296188510954]