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.001484/0.001484, 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.001811/0.001811, 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.468/1.468, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.2227/0.2227, allocations: 34.28 MB / 294.9 MB, free: 14.58 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|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.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.382e-05, allocations: 10.22 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00292/0.002944, allocations: 1.619 MB / 444.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004035, allocations: 0.5375 MB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.004109, allocations: 3.938 kB / 444.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006214/0.004731, allocations: 459 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.005201, allocations: 291.2 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.005649, allocations: 174.4 kB / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.005899, allocations: 171.6 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.006005, allocations: 15.91 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.006167, allocations: 115.8 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.006453, allocations: 239.6 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.006477, allocations: 8 kB / 446.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.964e-05/0.006546, allocations: 20 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.006652, allocations: 87.7 kB / 446.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.006702, allocations: 31.75 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.007002, allocations: 231.1 kB / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007004, allocations: 0 / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007005, allocations: 0 / 446.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00701, allocations: 0 / 446.7 MB, free: 1.422 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.0007129/0.007723, allocations: 0.5737 MB / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.007753, allocations: 8.031 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.007826, allocations: 48.66 kB / 447.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.008217, allocations: 242 kB / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.008227, allocations: 384 / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.008239, allocations: 4.375 kB / 447.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.008412, allocations: 58.11 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.008422, allocations: 4.188 kB / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.008432, allocations: 4.125 kB / 447.6 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.008436, allocations: 0 / 447.6 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.008523, allocations: 19.98 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.009002, allocations: 324.5 kB / 447.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.009102, allocations: 38.5 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2026/0.2117, allocations: 16.66 kB / 448 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.2118, allocations: 3.875 kB / 448 MB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.2118, allocations: 32 kB / 448 MB, free: 19.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.2118, allocations: 0.625 kB / 448 MB, free: 19.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003927/0.2122, allocations: 100.4 kB / 448.1 MB, free: 19.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2122, allocations: 51.41 kB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.2131, allocations: 0.8616 MB / 449 MB, free: 19.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2131, allocations: 26.77 kB / 449 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2132, allocations: 218.6 kB / 449.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2132, allocations: 5.875 kB / 449.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2133, allocations: 18.14 kB / 449.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.2133, allocations: 361.4 kB / 449.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.2134, allocations: 8.344 kB / 449.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.2134, allocations: 11.97 kB / 449.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.682e-05/0.2135, allocations: 27.75 kB / 449.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2135, allocations: 0.5625 kB / 449.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001441/0.2137, allocations: 100.8 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2137, allocations: 13.02 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2137, allocations: 0 / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2137, allocations: 1.156 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.2138, allocations: 7.906 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2138, allocations: 0 / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.2138, allocations: 3.109 kB / 449.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2139, allocations: 1.812 kB / 449.8 MB, free: 18.57 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 (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 0.0001667/0.214, allocations: 219.7 kB / 450 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.2141, allocations: 41.59 kB / 450.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.2143, allocations: 110.3 kB / 450.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2143, allocations: 1.25 kB / 450.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2143, allocations: 0 / 450.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2143, allocations: 0.6562 kB / 450.2 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2145, allocations: 236.1 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2145, allocations: 4.734 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.2146, allocations: 8.234 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2146, allocations: 1.156 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2146, allocations: 0.7031 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2146, allocations: 1.75 kB / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2146, allocations: 0 / 450.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2148, allocations: 189 kB / 450.6 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.2148, allocations: 41.08 kB / 450.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2148, allocations: 4.703 kB / 450.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.2149, allocations: 2.438 kB / 450.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.2149, allocations: 1.797 kB / 450.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2149, allocations: 11.8 kB / 450.7 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005854/0.2155, allocations: 0.6497 MB / 451.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2155, allocations: 0 / 451.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.2158, allocations: 15.62 kB / 451.3 MB, free: 17.77 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 (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.001393/0.2172, allocations: 378.9 kB / 451.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2173, allocations: 24.91 kB / 451.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2173, allocations: 0 / 451.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.2174, allocations: 17.2 kB / 451.7 MB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2177, allocations: 34.45 kB / 451.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.2187, allocations: 0.7854 MB / 452.6 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2189, allocations: 221.4 kB / 452.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.219, allocations: 8.688 kB / 452.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.219, allocations: 13.42 kB / 452.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.219, allocations: 0 / 452.8 MB, free: 17.16 MB / 366.1 MB Notification: Performance of Templates: time 0.00486/0.2238, allocations: 1.105 MB / 453.9 MB, free: 16.98 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.982625883072615]