Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001319/0.001319, allocations: 83.69 kB / 21.43 MB, free: 3.121 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.008125/0.008125, allocations: 162.6 kB / 24.7 MB, free: 9.406 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.9342/0.9342, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2482/0.2482, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.971e-05, allocations: 6.219 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001631/0.00167, allocations: 499.2 kB / 441.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.004867, allocations: 2.055 MB / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.004886, allocations: 0 / 443.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.004906, allocations: 3.938 kB / 443.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.942e-05/0.004925, allocations: 3.938 kB / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.006373, allocations: 408.4 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.006424, allocations: 7.984 kB / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.006467, allocations: 0 / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.006497, allocations: 0 / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1961/0.2026, allocations: 3.384 MB / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2027, allocations: 0 / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.2028, allocations: 4.156 kB / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.2028, allocations: 0 / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.2028, allocations: 2.875 kB / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.203, allocations: 20.19 kB / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.203, allocations: 0 / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.203, allocations: 0 / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.203, allocations: 0 / 447.2 MB, free: 44.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002359/0.2032, allocations: 239.7 kB / 447.4 MB, free: 44.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2032, allocations: 11.47 kB / 447.4 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2034, allocations: 89.17 kB / 447.5 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.913e-05/0.2035, allocations: 179.9 kB / 447.7 MB, free: 43.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2035, allocations: 150.9 kB / 447.8 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2035, allocations: 153.8 kB / 448 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.257e-05/0.2035, allocations: 105.1 kB / 448.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2036, allocations: 75.28 kB / 448.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2036, allocations: 157.4 kB / 448.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.2036, allocations: 154.4 kB / 448.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.2036, allocations: 153.6 kB / 448.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.2037, allocations: 403.6 kB / 449 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.2038, allocations: 171.9 kB / 449.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.2038, allocations: 80.14 kB / 449.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2038, allocations: 75.28 kB / 449.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2038, allocations: 115.8 kB / 449.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.2038, allocations: 0 / 449.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.074e-05/0.2039, allocations: 29.48 kB / 449.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2039, allocations: 184.8 kB / 449.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.204, allocations: 96.78 kB / 449.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-06/0.204, allocations: 28.8 kB / 449.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.129e-05/0.204, allocations: 87.64 kB / 449.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.204, allocations: 1.562 kB / 449.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.204, allocations: 12.69 kB / 449.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.149e-05/0.2041, allocations: 310.8 kB / 450.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.2041, allocations: 0 / 450.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.2041, allocations: 64.12 kB / 450.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.098e-05/0.2041, allocations: 78.19 kB / 450.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2041, allocations: 78.06 kB / 450.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.097e-05/0.2042, allocations: 35.88 kB / 450.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2042, allocations: 78.16 kB / 450.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2042, allocations: 82.16 kB / 450.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.2042, allocations: 153.8 kB / 450.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-06/0.2042, allocations: 82.41 kB / 450.8 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2042, allocations: 153.9 kB / 451 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.2043, allocations: 82.33 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2043, allocations: 78.75 kB / 451.1 MB, free: 40.29 MB / 410.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 (0): * Single equations (assignments): 0 * 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 5.08e-05/0.2043, allocations: 265.4 kB / 451.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.2043, allocations: 105 kB / 451.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.2044, allocations: 113.1 kB / 451.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2044, allocations: 179.3 kB / 451.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.2044, allocations: 187 kB / 452 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.2044, allocations: 180.9 kB / 452.1 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.213e-05/0.2045, allocations: 357.8 kB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.2045, allocations: 103.8 kB / 452.6 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.2045, allocations: 104.3 kB / 452.7 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.2045, allocations: 179 kB / 452.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2045, allocations: 185.6 kB / 453 MB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.2046, allocations: 182.7 kB / 453.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.2046, allocations: 183.7 kB / 453.4 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.97e-05/0.2046, allocations: 308.3 kB / 453.7 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.2046, allocations: 107.2 kB / 453.8 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2047, allocations: 183.8 kB / 454 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.2047, allocations: 104 kB / 454.1 MB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2047, allocations: 187.1 kB / 454.3 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2047, allocations: 103.8 kB / 454.4 MB, free: 36.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.132e-05/0.2048, allocations: 75.28 kB / 454.4 MB, free: 36.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2048, allocations: 0 / 454.4 MB, free: 36.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.2049, allocations: 6.094 kB / 454.4 MB, free: 36.88 MB / 410.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 (0): * Single equations (assignments): 0 * 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 8.897e-05/0.205, allocations: 168.5 kB / 454.6 MB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.657e-05/0.2051, allocations: 6.875 kB / 454.6 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2051, allocations: 4 kB / 454.6 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2051, allocations: 3.562 kB / 454.6 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.2052, allocations: 461.6 kB / 455.1 MB, free: 36.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.2054, allocations: 179.9 kB / 455.3 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.28e-05/0.2054, allocations: 54.42 kB / 455.3 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.2055, allocations: 8.5 kB / 455.3 MB, free: 35.99 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2055, allocations: 2.875 kB / 455.3 MB, free: 35.99 MB / 410.7 MB Notification: Performance of Templates: time 0.001379/0.2068, allocations: 371.6 kB / 455.7 MB, free: 35.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.669295474886894]