Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0009321/0.0009321, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001064/0.001064, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9755/0.9755, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1492/0.1492, allocations: 34.25 MB / 296.1 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.488e-05, allocations: 6.25 kB / 325.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003512/0.003537, allocations: 1.835 MB / 327.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.0052, allocations: 1.009 MB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.005291, allocations: 0 / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.005626, allocations: 87.64 kB / 328.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.006001, allocations: 119.4 kB / 328.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.006256, allocations: 83.59 kB / 328.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.006479, allocations: 123.7 kB / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.006578, allocations: 23.91 kB / 328.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.006717, allocations: 71.75 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006834, allocations: 55.86 kB / 328.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.006853, allocations: 8 kB / 328.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.006982, allocations: 55.92 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.007041, allocations: 31.86 kB / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.007081, allocations: 27.91 kB / 328.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.007301, allocations: 115.5 kB / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007304, allocations: 0 / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007305, allocations: 0 / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007309, allocations: 0 / 329 MB, free: 12.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004484/0.007758, allocations: 344 kB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.007793, allocations: 11.97 kB / 329.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.00784, allocations: 12.92 kB / 329.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.008038, allocations: 150.4 kB / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.008055, allocations: 384 / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.008078, allocations: 12.31 kB / 329.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.008209, allocations: 73.7 kB / 329.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.008221, allocations: 7.922 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.008229, allocations: 0 / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.008235, allocations: 0 / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.008267, allocations: 8 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.008536, allocations: 177.9 kB / 329.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.008713, allocations: 101.2 kB / 329.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.008739, allocations: 12.86 kB / 329.9 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.00875, allocations: 4 kB / 329.9 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.008866, allocations: 66.22 kB / 330 MB, free: 11.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.008868, allocations: 0 / 330 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005128/0.00938, allocations: 162.1 kB / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.009416, allocations: 59.39 kB / 330.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.009574, allocations: 197.5 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.009594, allocations: 33.69 kB / 330.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.009638, allocations: 100 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.009679, allocations: 39.66 kB / 330.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.009738, allocations: 25.7 kB / 330.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.00986, allocations: 330.8 kB / 330.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.009889, allocations: 10.83 kB / 330.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.009934, allocations: 33.69 kB / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.01001, allocations: 52.44 kB / 331 MB, free: 10.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01001, allocations: 0 / 331 MB, free: 10.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001277/0.01014, allocations: 80.44 kB / 331.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01015, allocations: 8 kB / 331.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01016, allocations: 0 / 331.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.01018, allocations: 12 kB / 331.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.01027, allocations: 19.94 kB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01027, allocations: 4 kB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.01032, allocations: 7.984 kB / 331.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.01033, allocations: 4 kB / 331.1 MB, free: 10.68 MB / 314.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 (13): * Single equations (assignments): 13 * 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 8.402e-05/0.01041, allocations: 120.6 kB / 331.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.01043, allocations: 11.98 kB / 331.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.01059, allocations: 95.22 kB / 331.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0106, allocations: 0 / 331.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.0106, allocations: 0 / 331.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0106, allocations: 4 kB / 331.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.01094, allocations: 328.2 kB / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01094, allocations: 0 / 331.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.01099, allocations: 15.94 kB / 331.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.011, allocations: 4 kB / 331.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01101, allocations: 7.984 kB / 331.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01101, allocations: 4 kB / 331.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01101, allocations: 0 / 331.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01117, allocations: 239.8 kB / 331.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01119, allocations: 19.95 kB / 332 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01121, allocations: 4 kB / 332 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.01128, allocations: 0 / 332 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.01131, allocations: 11.98 kB / 332 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.01133, allocations: 11.92 kB / 332 MB, free: 9.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.0114, allocations: 59.64 kB / 332 MB, free: 9.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0114, allocations: 0 / 332 MB, free: 9.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01167, allocations: 27.94 kB / 332.1 MB, free: 9.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001969/0.01364, allocations: 0.6529 MB / 332.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01376, allocations: 60.16 kB / 332.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.01377, allocations: 4 kB / 332.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.01382, allocations: 28.78 kB / 332.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01409, allocations: 37.08 kB / 332.9 MB, free: 9.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.01451, allocations: 255.8 kB / 333.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.01456, allocations: 79.33 kB / 333.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.769e-05/0.01462, allocations: 20.81 kB / 333.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.01471, allocations: 71.36 kB / 333.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01471, allocations: 3.938 kB / 333.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of Templates: time 0.005296/0.02001, allocations: 2.311 MB / 335.6 MB, free: 6.441 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.967592805624008]