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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.39 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.336/0.336, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 51.86 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3641, allocations: 60.8 MB / 0.5064 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001579/0.3657, allocations: 0.5502 MB / 0.5069 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3669, allocations: 0.7868 MB / 0.5077 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.071e-05/0.367, allocations: 0 / 0.5077 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.367, allocations: 0 / 0.5077 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.367, allocations: 0 / 0.5077 GB, free: 37.53 MB / 378.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.001337/0.3684, allocations: 0.537 MB / 0.5082 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.212e-05/0.3684, allocations: 5.094 kB / 0.5082 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.3684, allocations: 1.25 kB / 0.5082 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.3685, allocations: 0.9062 kB / 0.5082 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.549e-05/0.3685, allocations: 3.984 kB / 0.5082 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.3685, allocations: 1.281 kB / 0.5082 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005472/0.369, allocations: 373.1 kB / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.3691, allocations: 0 / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.3691, allocations: 0 / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3695, allocations: 337 kB / 0.5089 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3695, allocations: 0 / 0.5089 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3695, allocations: 4 kB / 0.5089 GB, free: 37.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.3695, allocations: 0 / 0.5089 GB, free: 37.02 MB / 378.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.0002983/0.3698, allocations: 393.6 kB / 0.5093 GB, free: 36.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3698, allocations: 8.688 kB / 0.5093 GB, free: 36.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.3699, allocations: 0.9375 kB / 0.5093 GB, free: 36.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.555e-05/0.3699, allocations: 160.4 kB / 0.5094 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3699, allocations: 384 / 0.5094 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.37, allocations: 6.484 kB / 0.5094 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.963e-05/0.37, allocations: 37.14 kB / 0.5095 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.37, allocations: 4.172 kB / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3701, allocations: 3.938 kB / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3701, allocations: 0 / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.3701, allocations: 3.938 kB / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.806e-05/0.3702, allocations: 148.1 kB / 0.5096 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.05e-05/0.3702, allocations: 18.58 kB / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.3702, allocations: 7.672 kB / 0.5097 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3702, allocations: 4 kB / 0.5097 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3703, allocations: 63.05 kB / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3703, allocations: 0 / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.3704, allocations: 64.52 kB / 0.5098 GB, free: 35.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3705, allocations: 77.11 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.197e-05/0.3705, allocations: 96.61 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.3705, allocations: 25.7 kB / 0.51 GB, free: 35.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.223e-05/0.3705, allocations: 80.27 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3706, allocations: 4 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.3706, allocations: 12.47 kB / 0.5101 GB, free: 35.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.3706, allocations: 314.3 kB / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.3706, allocations: 0 / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.3707, allocations: 2.781 kB / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.3707, allocations: 66.83 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3707, allocations: 0 / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.85e-05/0.3707, allocations: 63.97 kB / 0.5105 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3708, allocations: 35.98 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3708, allocations: 2.906 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3708, allocations: 3.938 kB / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3708, allocations: 0 / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3708, allocations: 0 / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.3708, allocations: 0 / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3708, allocations: 2.844 kB / 0.5105 GB, free: 35.16 MB / 378.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 4.891e-05/0.3709, allocations: 131.5 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.3709, allocations: 6.812 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.176e-05/0.3709, allocations: 14.53 kB / 0.5107 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.3709, allocations: 0 / 0.5107 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3709, allocations: 0 / 0.5107 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.371, allocations: 0 / 0.5107 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.198e-05/0.371, allocations: 152.5 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.371, allocations: 0 / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.371, allocations: 3.375 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.371, allocations: 0 / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.371, allocations: 10.78 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.371, allocations: 0 / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.371, allocations: 4 kB / 0.5108 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.3712, allocations: 0.6313 MB / 0.5115 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.3713, allocations: 80.53 kB / 0.5115 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.3713, allocations: 6.812 kB / 0.5115 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.3713, allocations: 0 / 0.5115 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.3713, allocations: 4.031 kB / 0.5116 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.3713, allocations: 2.906 kB / 0.5116 GB, free: 34.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.089e-05/0.3713, allocations: 75.28 kB / 0.5116 GB, free: 33.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 0 / 0.5116 GB, free: 33.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.3718, allocations: 75.48 kB / 0.5117 GB, free: 33.93 MB / 378.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.0004683/0.3722, allocations: 231.3 kB / 0.5119 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.3723, allocations: 56.47 kB / 0.512 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3723, allocations: 4.062 kB / 0.512 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.3724, allocations: 63.92 kB / 0.512 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.3725, allocations: 7.875 kB / 0.512 GB, free: 33.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.3727, allocations: 181.4 kB / 0.5122 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.3728, allocations: 0.6724 MB / 0.5129 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.113e-05/0.3728, allocations: 2.781 kB / 0.5129 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-06/0.3728, allocations: 7.438 kB / 0.5129 GB, free: 32.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3728, allocations: 0 / 0.5129 GB, free: 32.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003935/0.3767, allocations: 1.821 MB / 0.5147 GB, free: 32.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches