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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2095/0.2095, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4001, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00154/0.4017, allocations: 0.4893 MB / 0.5194 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4031, allocations: 0.7764 MB / 0.5201 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.4032, allocations: 0 / 0.5201 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.4032, allocations: 0 / 0.5201 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-06/0.4032, allocations: 0 / 0.5201 GB, free: 2.801 MB / 382.1 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.001667/0.4049, allocations: 0.5772 MB / 0.5207 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.405, allocations: 7.078 kB / 0.5207 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.405, allocations: 1.984 kB / 0.5207 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.405, allocations: 0 / 0.5207 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.4051, allocations: 5.469 kB / 0.5207 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.4051, allocations: 4 kB / 0.5207 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.4058, allocations: 376.7 kB / 0.5211 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.4058, allocations: 3.938 kB / 0.5211 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.4058, allocations: 1.281 kB / 0.5211 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.4064, allocations: 334.2 kB / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4064, allocations: 0 / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4064, allocations: 0 / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.4064, allocations: 1.156 kB / 0.5214 GB, free: 2.273 MB / 382.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.0003278/0.4068, allocations: 381.9 kB / 0.5218 GB, free: 1.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4068, allocations: 13.44 kB / 0.5218 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.4068, allocations: 2.656 kB / 0.5218 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.109e-05/0.4069, allocations: 165 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4069, allocations: 2.078 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.4069, allocations: 1.5 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.719e-05/0.407, allocations: 29.7 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.407, allocations: 192 / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.407, allocations: 3.938 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.407, allocations: 5.031 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.4071, allocations: 5.578 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.692e-05/0.4071, allocations: 148.2 kB / 0.5221 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/0.4072, allocations: 21.3 kB / 0.5221 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.4072, allocations: 6.609 kB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.4072, allocations: 0.6094 kB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4072, allocations: 57.97 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4072, allocations: 1.125 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.4074, allocations: 72.3 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.4074, allocations: 78.17 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.797e-05/0.4074, allocations: 90.52 kB / 0.5224 GB, free: 1.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.4075, allocations: 27.02 kB / 0.5225 GB, free: 1.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.145e-05/0.4075, allocations: 80.14 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.4075, allocations: 9.234 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.4075, allocations: 11.95 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.4076, allocations: 321.2 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-06/0.4076, allocations: 0.75 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.4076, allocations: 1.312 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.4076, allocations: 64.86 kB / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4076, allocations: 0 / 0.5229 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.867e-05/0.4077, allocations: 62.67 kB / 0.523 GB, free: 468 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4077, allocations: 33.55 kB / 0.523 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4077, allocations: 0 / 0.523 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4078, allocations: 9.016 kB / 0.523 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.021e-06/0.4078, allocations: 4.094 kB / 0.523 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4078, allocations: 4.875 kB / 0.523 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.4078, allocations: 0.9375 kB / 0.523 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.4078, allocations: 5.219 kB / 0.523 GB, free: 416 kB / 382.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 4.774e-05/0.4079, allocations: 135.5 kB / 0.5232 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-06/0.4079, allocations: 0 / 0.5232 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-06/0.4079, allocations: 9.234 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.4079, allocations: 0 / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4079, allocations: 0 / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4079, allocations: 5.953 kB / 0.5232 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.242e-05/0.4079, allocations: 145.3 kB / 0.5233 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4079, allocations: 0 / 0.5233 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.408, allocations: 0 / 0.5233 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.408, allocations: 1.719 kB / 0.5233 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.408, allocations: 3.938 kB / 0.5233 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.408, allocations: 2.062 kB / 0.5233 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.408, allocations: 0 / 0.5233 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.704e-05/0.4081, allocations: 91.88 kB / 0.5234 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.4081, allocations: 83.11 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4081, allocations: 5.922 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-06/0.4081, allocations: 0 / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.4082, allocations: 5.938 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4082, allocations: 4 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.4082, allocations: 75.28 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4082, allocations: 1.219 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.4085, allocations: 81.83 kB / 0.5237 GB, free: 15.75 MB / 398.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.0004511/0.409, allocations: 219.8 kB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.4091, allocations: 62.14 kB / 0.5239 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4091, allocations: 0 / 0.5239 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.4091, allocations: 56.2 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.4093, allocations: 5.812 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.4094, allocations: 78.34 kB / 0.5241 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.4097, allocations: 0.679 MB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.451e-06/0.4097, allocations: 3.938 kB / 0.5247 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.4097, allocations: 8.562 kB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4097, allocations: 0 / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Templates: time 0.004861/0.4146, allocations: 1.835 MB / 0.5265 GB, free: 14.18 MB / 398.1 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/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) Reference file matches