Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001266/0.001266, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001434/0.001434, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.393/1.393, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1997/0.1997, allocations: 32.8 MB / 293.5 MB, free: 24 kB / 270.1 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.069e-05, allocations: 2.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002797/0.002817, allocations: 1.607 MB / 441.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.004601, allocations: 1.231 MB / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.004659, allocations: 4 kB / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.004867, allocations: 31.72 kB / 443 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.00517, allocations: 83.61 kB / 443.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.00542, allocations: 86.34 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.005574, allocations: 71.81 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.005668, allocations: 12 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.005737, allocations: 31.91 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005865, allocations: 27.91 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.005889, allocations: 4 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.006061, allocations: 95.75 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.006117, allocations: 15.92 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.006155, allocations: 15.92 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.006423, allocations: 139.6 kB / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006425, allocations: 0 / 443.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006426, allocations: 4 kB / 443.5 MB, free: 4.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.00643, allocations: 0 / 443.5 MB, free: 4.68 MB / 366.1 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.0004928/0.006923, allocations: 333.6 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.006961, allocations: 8.031 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.007009, allocations: 12.83 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.007212, allocations: 129.7 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.007224, allocations: 4.375 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.007242, allocations: 384 / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.007426, allocations: 89.66 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.00744, allocations: 8.141 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.007455, allocations: 8.125 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.00746, allocations: 0 / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.41e-05/0.007554, allocations: 23.98 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.007885, allocations: 228.5 kB / 444.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.008087, allocations: 38.56 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.008136, allocations: 8.859 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.008163, allocations: 7.938 kB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.008194, allocations: 34.66 kB / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.008195, allocations: 0 / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005859/0.008781, allocations: 145.4 kB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.00884, allocations: 77.11 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.009001, allocations: 141.8 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.009021, allocations: 29.7 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.009082, allocations: 100 kB / 444.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.009107, allocations: 19.86 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.009142, allocations: 13.72 kB / 445 MB, free: 3.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.009293, allocations: 326.8 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.009372, allocations: 19.98 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.009465, allocations: 59.41 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.009606, allocations: 48.83 kB / 445.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009609, allocations: 3.938 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.009805, allocations: 73.62 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.009819, allocations: 8 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.009826, allocations: 3.984 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.009839, allocations: 4.031 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.009904, allocations: 11.94 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.00991, allocations: 4 kB / 445.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.009958, allocations: 3.984 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.009966, allocations: 4 kB / 445.5 MB, free: 2.484 MB / 366.1 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 9.002e-05/0.01006, allocations: 118.4 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.0101, allocations: 7.953 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.01034, allocations: 90.38 kB / 445.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01034, allocations: 4 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01035, allocations: 4.344 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01035, allocations: 3.984 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.01077, allocations: 294.1 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01077, allocations: 0 / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.01083, allocations: 15.97 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01083, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01084, allocations: 8 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01085, allocations: 0 / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01085, allocations: 4 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.0111, allocations: 179.3 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01111, allocations: 11.95 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.01114, allocations: 0 / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.01122, allocations: 7.938 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.01125, allocations: 3.984 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01126, allocations: 4 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01137, allocations: 117.9 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01137, allocations: 0 / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.01165, allocations: 43.81 kB / 446.4 MB, free: 1.516 MB / 366.1 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.001812/0.01346, allocations: 0.5147 MB / 447 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01367, allocations: 51.84 kB / 447 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01367, allocations: 0 / 447 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.01375, allocations: 28.11 kB / 447 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01403, allocations: 29.45 kB / 447.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.01443, allocations: 172.7 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.375e-05/0.01451, allocations: 79.27 kB / 447.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.01456, allocations: 8 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.0146, allocations: 16.48 kB / 447.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0146, allocations: 0 / 447.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of Templates: time 0.1622/0.1768, allocations: 1.806 MB / 449.1 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.551099039614201]