Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001394/0.001394, 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.001141/0.001141, allocations: 168.7 kB / 24.91 MB, free: 9.16 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.242/0.242, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.41e-05, allocations: 2.312 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.006965/0.006989, allocations: 1.812 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.01007, allocations: 1.735 MB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.01014, allocations: 3.938 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.0104, allocations: 35.83 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.01068, allocations: 103.3 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.01084, allocations: 75.67 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.011, allocations: 123.5 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.01108, allocations: 7.984 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.01117, allocations: 55.89 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.01127, allocations: 43.83 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.01128, allocations: 12 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.01146, allocations: 107.8 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.0115, allocations: 27.91 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.01153, allocations: 20.42 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.01175, allocations: 171.4 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01176, allocations: 0 / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01176, allocations: 0 / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.01176, allocations: 0 / 329.7 MB, free: 3.23 MB / 298.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.0003797/0.01214, allocations: 341.4 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.01217, allocations: 8.031 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.01221, allocations: 12.92 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.01241, allocations: 149.6 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.01242, allocations: 384 / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.01244, allocations: 4.375 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.0126, allocations: 109.1 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01261, allocations: 3.938 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.01261, allocations: 4 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.01262, allocations: 0 / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.01266, allocations: 14.81 kB / 330.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.01291, allocations: 173.9 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01303, allocations: 105.3 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.01308, allocations: 12.86 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.01309, allocations: 4 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.0132, allocations: 66.14 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.0132, allocations: 0 / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003614/0.01356, allocations: 129.5 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.0136, allocations: 81.11 kB / 330.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01373, allocations: 162.9 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01375, allocations: 33.7 kB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.01379, allocations: 96.11 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.01382, allocations: 31.67 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.01387, allocations: 25.7 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.01396, allocations: 326.8 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.01399, allocations: 6.828 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.01404, allocations: 61.23 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.0141, allocations: 55.27 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.0141, allocations: 0 / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000111/0.01422, allocations: 76.38 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01423, allocations: 8.062 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01423, allocations: 3.938 kB / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01424, allocations: 0 / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.01433, allocations: 19.98 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01433, allocations: 0 / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.01438, allocations: 8 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.01438, allocations: 4 kB / 331.8 MB, free: 0.9258 MB / 298.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 (11): * Single equations (assignments): 11 * 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.002e-05/0.01446, allocations: 118.9 kB / 331.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.01449, allocations: 15.92 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.01465, allocations: 91.81 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01465, allocations: 4 kB / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01465, allocations: 0 / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01466, allocations: 0 / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.01805, allocations: 299.6 kB / 332.3 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.01805, allocations: 4 kB / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.01811, allocations: 11.98 kB / 332.3 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.01811, allocations: 4 kB / 332.3 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01813, allocations: 4 kB / 332.3 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01813, allocations: 3.938 kB / 332.3 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01813, allocations: 11.97 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.01829, allocations: 223.1 kB / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.01831, allocations: 11.91 kB / 332.6 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01834, allocations: 8 kB / 332.6 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.01839, allocations: 3.984 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.01842, allocations: 7.984 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.01844, allocations: 8 kB / 332.6 MB, free: 52 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.01849, allocations: 41.19 kB / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01849, allocations: 0 / 332.6 MB, free: 8 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01872, allocations: 52.38 kB / 332.7 MB, free: 15.95 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: 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 (11): * Single equations (assignments): 9 * 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.001634/0.02035, allocations: 0.7094 MB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.0205, allocations: 40.78 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.02051, allocations: 4 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.02056, allocations: 36.83 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.02084, allocations: 40.78 kB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.02127, allocations: 215.7 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.02132, allocations: 67.34 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.274e-05/0.02141, allocations: 20.62 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.02152, allocations: 79.34 kB / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02152, allocations: 0 / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Templates: time 0.005944/0.02746, allocations: 2.923 MB / 336.8 MB, free: 12.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.950091800186783]