Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001266/0.001266, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001536/0.001536, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.41/1.41, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2216/0.2216, allocations: 46.97 MB / 361.6 MB, free: 4.156 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.88 kB / 0.4973 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3708, allocations: 66.04 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001644/0.3724, allocations: 0.4892 MB / 0.5623 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.374, allocations: 0.7237 MB / 0.563 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.374, allocations: 4 kB / 0.563 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.374, allocations: 0 / 0.563 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.374, allocations: 0 / 0.563 GB, free: 2.992 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001849/0.3758, allocations: 0.638 MB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.3759, allocations: 4 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.3759, allocations: 7.938 kB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.3759, allocations: 0 / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.376, allocations: 3.984 kB / 0.5636 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.376, allocations: 0 / 0.5636 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.3767, allocations: 415.2 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.3767, allocations: 3.938 kB / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.3768, allocations: 0 / 0.564 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3773, allocations: 341.8 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3773, allocations: 7.984 kB / 0.5644 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3773, allocations: 0 / 0.5644 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3773, allocations: 0 / 0.5644 GB, free: 1.594 MB / 398.1 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.0003959/0.3777, allocations: 311.6 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3777, allocations: 15.97 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3777, allocations: 4.938 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.3778, allocations: 107.6 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3778, allocations: 384 / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.3778, allocations: 4.375 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3779, allocations: 55.95 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.378, allocations: 8.172 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.378, allocations: 7.938 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.378, allocations: 0 / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.199e-05/0.378, allocations: 25.7 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.3781, allocations: 101.3 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.3782, allocations: 44.28 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.3782, allocations: 38.64 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-06/0.3782, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.3783, allocations: 56.27 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3783, allocations: 0 / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002124/0.3785, allocations: 130.7 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.3785, allocations: 77.11 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.3786, allocations: 97.81 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3786, allocations: 25.7 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3786, allocations: 80.14 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3787, allocations: 0 / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.3787, allocations: 13.72 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3788, allocations: 314.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.3789, allocations: 25.7 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.3789, allocations: 29.7 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.3789, allocations: 72.38 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3789, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.729e-05/0.379, allocations: 89.05 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.3791, allocations: 40.36 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3791, allocations: 0 / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3791, allocations: 3.984 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.3791, allocations: 3.938 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3791, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.3791, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3791, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.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: 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 9.25e-05/0.3792, allocations: 143.5 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-06/0.3792, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.3792, allocations: 3 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3792, allocations: 7.938 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3792, allocations: 0 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3792, allocations: 0 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.3793, allocations: 97.31 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3793, allocations: 0 / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.3793, allocations: 0 / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3793, allocations: 4 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3793, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3793, allocations: 4 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3794, allocations: 3.938 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3795, allocations: 124.5 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.3795, allocations: 0 / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3795, allocations: 4 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.3795, allocations: 4 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3795, allocations: 3.938 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.3795, allocations: 0 / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.3795, allocations: 75.28 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3795, allocations: 0 / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.3799, allocations: 87.77 kB / 0.5666 GB, free: 14.94 MB / 414.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: 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.0005449/0.3805, allocations: 229.3 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.3806, allocations: 114.8 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3806, allocations: 0 / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.3806, allocations: 92.97 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3808, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.381, allocations: 102.8 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.381, allocations: 59.48 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.381, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.381, allocations: 7.438 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.381, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005419/0.3864, allocations: 1.938 MB / 0.5691 GB, free: 12.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.996684480996919]