Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001169/0.001169, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001059/0.001059, allocations: 169.7 kB / 24.84 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.043/1.043, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1375/0.1375, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.738e-05, allocations: 2.312 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002364/0.002392, allocations: 1.729 MB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003423, allocations: 0.7803 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.003538, allocations: 4 kB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.004006, allocations: 83.64 kB / 351.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.004311, allocations: 83.66 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.004567, allocations: 83.64 kB / 351.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004752, allocations: 115.6 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.004887, allocations: 8.219 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.00498, allocations: 59.88 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.005094, allocations: 51.88 kB / 352 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.005114, allocations: 4 kB / 352 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.005198, allocations: 43.92 kB / 352 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.005256, allocations: 27.86 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.005302, allocations: 27.91 kB / 352.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.005509, allocations: 103.6 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.005515, allocations: 0 / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005516, allocations: 0 / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.005523, allocations: 0 / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005642/0.006088, allocations: 455.7 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.006135, allocations: 8.031 kB / 352.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.006181, allocations: 12.89 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.006329, allocations: 156.3 kB / 352.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.006347, allocations: 4.375 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.006373, allocations: 8.375 kB / 352.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006485, allocations: 58.94 kB / 352.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006495, allocations: 3.938 kB / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.006502, allocations: 0 / 352.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006508, allocations: 4 kB / 352.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.006539, allocations: 7.984 kB / 352.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.006827, allocations: 256.4 kB / 353.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.006945, allocations: 55.11 kB / 353.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.006971, allocations: 23.64 kB / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.006988, allocations: 8 kB / 353.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.007094, allocations: 64.98 kB / 353.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.007096, allocations: 4 kB / 353.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004412/0.007537, allocations: 129.5 kB / 353.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.007579, allocations: 51.41 kB / 353.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007703, allocations: 242.5 kB / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.007715, allocations: 25.7 kB / 353.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.007775, allocations: 158.8 kB / 353.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.007812, allocations: 31.77 kB / 353.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.007851, allocations: 27.38 kB / 353.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.007935, allocations: 0.504 MB / 354.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.00796, allocations: 11.98 kB / 354.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.007987, allocations: 23.38 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.008033, allocations: 51.28 kB / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.008035, allocations: 0 / 354.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.008139, allocations: 93.53 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.008153, allocations: 8 kB / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.008158, allocations: 0 / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.00817, allocations: 0 / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.008241, allocations: 23.95 kB / 354.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-06/0.008245, allocations: 4 kB / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.008276, allocations: 0 / 354.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.008282, allocations: 4 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.009e-05/0.008342, allocations: 160.6 kB / 354.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.008358, allocations: 19.88 kB / 354.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.008495, allocations: 95.08 kB / 354.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.008499, allocations: 4 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.008501, allocations: 0 / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.008505, allocations: 3.984 kB / 354.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.008748, allocations: 373.5 kB / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00875, allocations: 0 / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.008782, allocations: 8 kB / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.008785, allocations: 0 / 355.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.008801, allocations: 8.359 kB / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.008803, allocations: 0 / 355.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.008805, allocations: 4 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.008927, allocations: 255.4 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.008942, allocations: 7.906 kB / 355.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.008962, allocations: 12.03 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.009011, allocations: 0 / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.009043, allocations: 7.984 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.009059, allocations: 7.938 kB / 355.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.00911, allocations: 171.1 kB / 355.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00911, allocations: 0 / 355.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.009291, allocations: 24 kB / 355.8 MB, free: 1.965 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008949/0.01019, allocations: 433.1 kB / 356.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01031, allocations: 63.5 kB / 356.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01031, allocations: 0 / 356.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.01035, allocations: 27.67 kB / 356.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01063, allocations: 35.83 kB / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.011, allocations: 225 kB / 356.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.01104, allocations: 67.34 kB / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.01108, allocations: 12.48 kB / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.01114, allocations: 94.31 kB / 356.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.01114, allocations: 0 / 356.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Templates: time 0.004191/0.01533, allocations: 2.042 MB / 358.8 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.3548713116906583]