Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001459/0.001459, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001111/0.001111, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9438/0.9438, allocations: 177.1 MB / 206 MB, free: 4.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.1561/0.1561, allocations: 34.26 MB / 296.9 MB, free: 13.94 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.785e-05, allocations: 5.547 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002834/0.002862, allocations: 1.643 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003897, allocations: 0.5375 MB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.003973, allocations: 0 / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.004545, allocations: 458.9 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.005049, allocations: 295.3 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.005493, allocations: 175.4 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.005756, allocations: 167.6 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.005865, allocations: 15.86 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.00602, allocations: 115.8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.006265, allocations: 243.6 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.006285, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.014e-05/0.006365, allocations: 24 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.006464, allocations: 83.7 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.00651, allocations: 39.73 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.006765, allocations: 187.1 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.006769, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.006771, allocations: 3.984 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.006775, allocations: 0 / 383.2 MB, free: 19.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006146/0.00739, allocations: 0.6931 MB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.007432, allocations: 8.031 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.007502, allocations: 44.66 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.007726, allocations: 244.9 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.007739, allocations: 4.375 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.007748, allocations: 4.359 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.007872, allocations: 62.88 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.007884, allocations: 192 / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.007894, allocations: 4.125 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007902, allocations: 4 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.007927, allocations: 4 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.008384, allocations: 324.3 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.00846, allocations: 34.98 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.008493, allocations: 15.75 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.008517, allocations: 0 / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.008552, allocations: 41.33 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.624e-06/0.008554, allocations: 3.938 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.000229/0.008783, allocations: 85.41 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.008818, allocations: 51.41 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.009371, allocations: 0.6039 MB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.009382, allocations: 25.7 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.00958, allocations: 298.7 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.009613, allocations: 19.88 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.009665, allocations: 19.5 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.009801, allocations: 0.5586 MB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.009822, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.009836, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.009876, allocations: 15.67 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009879, allocations: 4 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000118/0.009997, allocations: 77.36 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.01002, allocations: 6.344 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.01003, allocations: 0 / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01004, allocations: 4.031 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.01013, allocations: 11.98 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01013, allocations: 0 / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.01017, allocations: 12 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01018, allocations: 0 / 386.5 MB, free: 15.99 MB / 314.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 (2): * Single equations (assignments): 2 * 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.283e-05/0.01027, allocations: 152.6 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.01033, allocations: 47.66 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.0105, allocations: 80.72 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.0105, allocations: 0 / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.0105, allocations: 0 / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01051, allocations: 4.031 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.01074, allocations: 197.1 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01075, allocations: 0 / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.01079, allocations: 7.984 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.0108, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.0108, allocations: 3.938 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01081, allocations: 3.938 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01081, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.01096, allocations: 223.7 kB / 387.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.011, allocations: 35.72 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01102, allocations: 11.97 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.0111, allocations: 7.938 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.01113, allocations: 0 / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.01113, allocations: 0 / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002927/0.01143, allocations: 394.7 kB / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01143, allocations: 0 / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01169, allocations: 16 kB / 387.7 MB, free: 14.77 MB / 314.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 (2): * Single equations (assignments): 2 * 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.001005/0.0127, allocations: 328.2 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.998e-05/0.01279, allocations: 23.61 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01279, allocations: 0 / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.0128, allocations: 15.69 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.01317, allocations: 24.8 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.0139, allocations: 0.567 MB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.805e-05/0.01399, allocations: 123.1 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.01403, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.01409, allocations: 78.19 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01409, allocations: 0 / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of Templates: time 0.004845/0.01893, allocations: 1.248 MB / 390.1 MB, free: 12.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.034024578984827]