Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.0009724/0.0009724, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009081/0.0009081, 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.9064/0.9064, allocations: 177.1 MB / 205 MB, free: 5.594 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.2584/0.2584, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.435e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002505/0.002529, allocations: 1.692 MB / 377.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.003351, allocations: 0.5608 MB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.003409, allocations: 4 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.003698, allocations: 95.61 kB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.004025, allocations: 111.5 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.00434, allocations: 119.6 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.004528, allocations: 99.73 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.00466, allocations: 19.98 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.004741, allocations: 59.81 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004844, allocations: 59.86 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.004862, allocations: 4 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.004951, allocations: 43.92 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.005002, allocations: 31.91 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.005034, allocations: 27.86 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.0052, allocations: 103.6 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005202, allocations: 3.938 kB / 379.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005203, allocations: 0 / 379.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005208, allocations: 0 / 379.1 MB, free: 1.598 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005294/0.005737, allocations: 471.7 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.005778, allocations: 12.03 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.005833, allocations: 16.84 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005988, allocations: 152.4 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.006001, allocations: 8.312 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.006024, allocations: 8.375 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006164, allocations: 74.92 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.006176, allocations: 4.188 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.006188, allocations: 4.125 kB / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.006197, allocations: 0 / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.006242, allocations: 26.86 kB / 379.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.006625, allocations: 343.5 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.735e-05/0.006703, allocations: 51.05 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.006729, allocations: 15.69 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.006752, allocations: 4 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.006772, allocations: 37.39 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.006772, allocations: 0 / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005971/0.00737, allocations: 253.5 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.00741, allocations: 51.41 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.007549, allocations: 246.7 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.007562, allocations: 29.7 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.007618, allocations: 170.9 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.007833, allocations: 47.64 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.007869, allocations: 31.36 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.007979, allocations: 0.504 MB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.008009, allocations: 23.98 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.008036, allocations: 20.11 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.008099, allocations: 55.62 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0081, allocations: 0 / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001179/0.008218, allocations: 105.3 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.00823, allocations: 4 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008234, allocations: 0 / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008247, allocations: 4 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.008329, allocations: 31.92 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.008334, allocations: 4 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.008354, allocations: 3.938 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.008362, allocations: 4 kB / 381.8 MB, free: 14.62 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 (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 6.316e-05/0.008425, allocations: 164.6 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.008448, allocations: 19.91 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.008611, allocations: 123.1 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.008615, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.008618, allocations: 3.938 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008621, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.008947, allocations: 440.8 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008949, allocations: 4 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.008996, allocations: 23.98 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.008999, allocations: 0 / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.009007, allocations: 3.938 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.00901, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.009011, allocations: 0 / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.009158, allocations: 263.5 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.009169, allocations: 11.91 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.009183, allocations: 15.97 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.009216, allocations: 4 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.009252, allocations: 11.97 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.009258, allocations: 8 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.009334, allocations: 177.1 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009334, allocations: 0 / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.009505, allocations: 31.92 kB / 383.1 MB, free: 13.25 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 (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 Backend phase and start with SimCode phase: time 0.001034/0.01054, allocations: 442.2 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01069, allocations: 67.66 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01069, allocations: 0 / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.01075, allocations: 43.61 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01102, allocations: 18.64 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.01143, allocations: 292.8 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.01148, allocations: 75.31 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.016e-05/0.01154, allocations: 28.53 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.01158, allocations: 16.5 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01158, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004034/0.01561, allocations: 1.729 MB / 385.8 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.0330000505782664]