Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001751/0.001751, 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.002073/0.002073, 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.504/1.504, 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.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.2207/0.2207, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.696e-05, allocations: 6.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002947/0.002974, allocations: 1.607 MB / 444.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004115, allocations: 0.5258 MB / 444.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.004181, allocations: 4 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.004508, allocations: 131.5 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.004853, allocations: 127.5 kB / 445.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.005145, allocations: 91.62 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.005345, allocations: 107.7 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.005439, allocations: 7.984 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.005551, allocations: 59.86 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.005698, allocations: 87.83 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.00572, allocations: 4 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.005819, allocations: 43.92 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.005889, allocations: 31.91 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.005925, allocations: 15.88 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.006132, allocations: 111.6 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006134, allocations: 11.81 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006135, allocations: 0 / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.006139, allocations: 4 kB / 445.7 MB, free: 2.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005141/0.006653, allocations: 357.4 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.006689, allocations: 12.03 kB / 446 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.006736, allocations: 20.83 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.006947, allocations: 153.3 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.006957, allocations: 384 / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.006982, allocations: 4.375 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.007134, allocations: 54.23 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.007147, allocations: 192 / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.007157, allocations: 4.125 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.007161, allocations: 3.938 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.007265, allocations: 27.97 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.007621, allocations: 248.5 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.007739, allocations: 42.5 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.007798, allocations: 24.88 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.007818, allocations: 0 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.007848, allocations: 34.56 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.007849, allocations: 0 / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009289/0.008778, allocations: 233.2 kB / 446.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.008816, allocations: 55.34 kB / 446.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.009105, allocations: 271.9 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.009124, allocations: 25.7 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.009205, allocations: 116.1 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.00924, allocations: 31.73 kB / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.009279, allocations: 17.72 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.009436, allocations: 338.8 kB / 447.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.009517, allocations: 23.98 kB / 447.7 MB, free: 176 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.009594, allocations: 28.05 kB / 447.7 MB, free: 148 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.009758, allocations: 68.98 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.009759, allocations: 0 / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2171/0.2269, allocations: 97.38 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2269, allocations: 6.109 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2269, allocations: 0 / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2269, allocations: 1.594 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.227, allocations: 18.27 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.227, allocations: 0.5156 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2271, allocations: 11.2 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2271, allocations: 2 kB / 447.9 MB, free: 19.05 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 (8): * Single equations (assignments): 8 * 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.0001008/0.2272, allocations: 147 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.2272, allocations: 14 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2275, allocations: 120.2 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2276, allocations: 6.609 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2276, allocations: 1.156 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2276, allocations: 0.7031 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.228, allocations: 359.3 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.228, allocations: 1.188 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.2281, allocations: 16.78 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2281, allocations: 1.219 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2281, allocations: 2.953 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2281, allocations: 0.7031 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2281, allocations: 1.156 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.2283, allocations: 221.6 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.2284, allocations: 9.594 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.2284, allocations: 1.938 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.2285, allocations: 9.906 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.2285, allocations: 5.656 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.2285, allocations: 6.562 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.2287, allocations: 210.5 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2287, allocations: 0 / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.2289, allocations: 22.7 kB / 449.1 MB, free: 18.45 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001781/0.2307, allocations: 0.4894 MB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2309, allocations: 64.44 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2309, allocations: 1 kB / 449.6 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.231, allocations: 35.81 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.2313, allocations: 16.02 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.2319, allocations: 311.4 kB / 450 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.232, allocations: 112.7 kB / 450.1 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.232, allocations: 14 kB / 450.1 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.2321, allocations: 16.06 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2321, allocations: 0 / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004821/0.2369, allocations: 1.379 MB / 451.5 MB, free: 17.83 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.9204516634345055]