Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.0008341/0.0008341, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003576/0.003576, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8623/0.8623, allocations: 177.1 MB / 205 MB, free: 5.75 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.2381/0.2381, allocations: 32.79 MB / 294.2 MB, free: 1.199 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 4 kB / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.356e-05, allocations: 10.78 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009128/0.0009364, allocations: 494 kB / 441.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.00193, allocations: 0.7215 MB / 442 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.453e-05/0.001945, allocations: 3.938 kB / 442 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.001958, allocations: 4 kB / 442 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.001964, allocations: 0 / 442 MB, free: 2.551 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.003281, allocations: 0.6569 MB / 442.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.003327, allocations: 4 kB / 442.7 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.00336, allocations: 4 kB / 442.7 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.003386, allocations: 3.984 kB / 442.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.003403, allocations: 0 / 442.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.003409, allocations: 0 / 442.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.003929, allocations: 411 kB / 443.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.003936, allocations: 0 / 443.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.003952, allocations: 0 / 443.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.004335, allocations: 375.1 kB / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.004337, allocations: 4 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004338, allocations: 0 / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004341, allocations: 4 kB / 443.5 MB, free: 1.105 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002812/0.004623, allocations: 311.6 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.004655, allocations: 8.031 kB / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.004685, allocations: 0.9375 kB / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.587e-05/0.004741, allocations: 109.8 kB / 443.9 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.004751, allocations: 384 / 443.9 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.004758, allocations: 384 / 443.9 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.004835, allocations: 59.95 kB / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004841, allocations: 192 / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004849, allocations: 4.375 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004853, allocations: 384 / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.004875, allocations: 37.52 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.34e-05/0.004969, allocations: 101.3 kB / 444.1 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.189e-05/0.00501, allocations: 44.36 kB / 444.1 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.005028, allocations: 34.56 kB / 444.2 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.005035, allocations: 0 / 444.2 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.005068, allocations: 56.27 kB / 444.2 MB, free: 208 kB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.32e-07/0.005069, allocations: 0 / 444.2 MB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.005229, allocations: 122.8 kB / 444.4 MB, free: 60 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1655/0.1707, allocations: 85.14 kB / 444.4 MB, free: 46.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.827e-05/0.1708, allocations: 89.86 kB / 444.5 MB, free: 46.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.1708, allocations: 25.7 kB / 444.6 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-06/0.1708, allocations: 80.14 kB / 444.6 MB, free: 46.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1708, allocations: 3.266 kB / 444.6 MB, free: 46.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1708, allocations: 14.03 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.1709, allocations: 314.6 kB / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.1709, allocations: 29.73 kB / 445 MB, free: 45.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.1709, allocations: 28.8 kB / 445 MB, free: 45.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.171, allocations: 62.61 kB / 445.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.171, allocations: 1.594 kB / 445.1 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.856e-05/0.171, allocations: 90.06 kB / 445.2 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.1711, allocations: 31.48 kB / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1711, allocations: 10.98 kB / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1711, allocations: 0 / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.1711, allocations: 0 / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1711, allocations: 0 / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.1711, allocations: 3.375 kB / 445.2 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1712, allocations: 5.562 kB / 445.2 MB, free: 45.72 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.852e-05/0.1712, allocations: 134.7 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1712, allocations: 5.875 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.1712, allocations: 3 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1712, allocations: 0 / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1712, allocations: 3.938 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1713, allocations: 3.062 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.568e-05/0.1713, allocations: 99.42 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1713, allocations: 3.188 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1713, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.1713, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1713, allocations: 3.031 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1713, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1713, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.1714, allocations: 123.1 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.1714, allocations: 0.9375 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1714, allocations: 9.062 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.1714, allocations: 0 / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1714, allocations: 3.938 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1715, allocations: 4.5 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.532e-05/0.1715, allocations: 78.22 kB / 445.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1715, allocations: 0 / 445.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003967/0.1719, allocations: 81.84 kB / 445.8 MB, free: 45.24 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004987/0.1724, allocations: 242.2 kB / 446 MB, free: 45.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.1725, allocations: 116.6 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1725, allocations: 3.281 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.1725, allocations: 83.23 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.968e-05/0.1726, allocations: 4.969 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.1728, allocations: 130.4 kB / 446.3 MB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.1728, allocations: 57.11 kB / 446.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.1728, allocations: 11.53 kB / 446.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1728, allocations: 0 / 446.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of Templates: time 0.002647/0.1754, allocations: 1.791 MB / 448.2 MB, free: 44.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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: 5.247351987287402]