Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001039/0.001039, allocations: 83.58 kB / 21.19 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.0009995/0.0009995, allocations: 161 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.9966/0.9966, allocations: 177.1 MB / 205 MB, free: 5.605 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.2866/0.2866, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.509e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002854/0.002879, allocations: 1.634 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.00393, allocations: 0.5259 MB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.003997, allocations: 8 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.004268, allocations: 31.77 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.004601, allocations: 75.56 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.00487, allocations: 91.7 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.005049, allocations: 71.75 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.00515, allocations: 7.938 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.005227, allocations: 31.91 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.005292, allocations: 15.98 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.005309, allocations: 4 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.005393, allocations: 31.92 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.005445, allocations: 19.92 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.005478, allocations: 11.94 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005678, allocations: 75.67 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005681, allocations: 0 / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005682, allocations: 0 / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005687, allocations: 0 / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005495/0.006236, allocations: 416.1 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.006292, allocations: 8.031 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.006354, allocations: 8.891 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.006558, allocations: 140.5 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006572, allocations: 384 / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.006602, allocations: 8.359 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.006774, allocations: 58.89 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.006786, allocations: 192 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006798, allocations: 4.125 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.006808, allocations: 0 / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.006848, allocations: 8 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.007235, allocations: 275.8 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.007452, allocations: 42.98 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.007481, allocations: 15.69 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.007504, allocations: 3.938 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.007533, allocations: 37.39 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.007535, allocations: 0 / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004685/0.008003, allocations: 109.4 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.008052, allocations: 51.41 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.008226, allocations: 209.1 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008242, allocations: 25.7 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.008318, allocations: 142.9 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.008351, allocations: 15.89 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.008393, allocations: 23.38 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.008593, allocations: 0.5 MB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.00862, allocations: 8.062 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.008638, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.008695, allocations: 27.62 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008696, allocations: 0 / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001114/0.008808, allocations: 65.59 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.008823, allocations: 4 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.008829, allocations: 3.938 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.008845, allocations: 0 / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.008909, allocations: 15.98 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.008917, allocations: 0 / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.008947, allocations: 4 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.008959, allocations: 0 / 382.9 MB, free: 13.55 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 (5): * Single equations (assignments): 5 * 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 0.0001011/0.00906, allocations: 160.5 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.009098, allocations: 15.94 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.009264, allocations: 74.02 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009267, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.009272, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.009278, allocations: 4.266 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.009643, allocations: 325.4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.009646, allocations: 320 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.009697, allocations: 15.98 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.009703, allocations: 3.984 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.009712, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.009715, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009717, allocations: 0 / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.009889, allocations: 207.8 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.009902, allocations: 7.953 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.009922, allocations: 4 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.009978, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.01002, allocations: 11.98 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.01003, allocations: 0 / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01014, allocations: 163 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01014, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.01044, allocations: 12 kB / 383.9 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001407/0.01185, allocations: 378.9 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01199, allocations: 27.67 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.012, allocations: 3.938 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.01204, allocations: 23.62 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.01244, allocations: 21.8 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.01287, allocations: 186.5 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01292, allocations: 67.34 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.01295, allocations: 7.984 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.01299, allocations: 12.5 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01299, allocations: 0 / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of Templates: time 0.00424/0.01723, allocations: 1.248 MB / 385.8 MB, free: 10.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.2121191206388175]