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.001227/0.001227, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001236/0.001237, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.238/1.238, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.194/0.194, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.88 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3019, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001437/0.3034, allocations: 0.5012 MB / 0.52 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3047, allocations: 0.7726 MB / 0.5208 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.3047, allocations: 0 / 0.5208 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.3047, allocations: 0 / 0.5208 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.3047, allocations: 0 / 0.5208 GB, free: 2.793 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.001623/0.3064, allocations: 0.5781 MB / 0.5213 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.3064, allocations: 1.25 kB / 0.5213 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.3065, allocations: 1.906 kB / 0.5214 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.3065, allocations: 1.031 kB / 0.5214 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.3065, allocations: 17.84 kB / 0.5214 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.3065, allocations: 0 / 0.5214 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006966/0.3072, allocations: 376.5 kB / 0.5217 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.3072, allocations: 0 / 0.5217 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.3073, allocations: 1.094 kB / 0.5217 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.3078, allocations: 337.4 kB / 0.5221 GB, free: 2.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3078, allocations: 0.5625 kB / 0.5221 GB, free: 2.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3078, allocations: 0.9688 kB / 0.5221 GB, free: 2.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.3079, allocations: 0 / 0.5221 GB, free: 2.262 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.0003324/0.3082, allocations: 382.3 kB / 0.5224 GB, free: 1.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3082, allocations: 17.38 kB / 0.5224 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3083, allocations: 2.766 kB / 0.5224 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.3084, allocations: 161.2 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3084, allocations: 1.469 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3084, allocations: 1.531 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.3085, allocations: 29.86 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3085, allocations: 192 / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3085, allocations: 5.188 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3085, allocations: 0 / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.3086, allocations: 5.547 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.3087, allocations: 152.1 kB / 0.5228 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.3087, allocations: 21.83 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.3087, allocations: 10.34 kB / 0.5228 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.3088, allocations: 0.9688 kB / 0.5228 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3088, allocations: 58.23 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3088, allocations: 0 / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.309, allocations: 73.45 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.309, allocations: 81.05 kB / 0.523 GB, free: 1.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.975e-05/0.309, allocations: 91.58 kB / 0.5231 GB, free: 1.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.309, allocations: 25.7 kB / 0.5231 GB, free: 1.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.3091, allocations: 80.14 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3091, allocations: 1.406 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.3091, allocations: 13.31 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.3092, allocations: 315 kB / 0.5235 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.3092, allocations: 1.984 kB / 0.5235 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.3092, allocations: 0.9375 kB / 0.5235 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.3092, allocations: 68.88 kB / 0.5236 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3092, allocations: 0 / 0.5236 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.282e-05/0.3093, allocations: 63.44 kB / 0.5236 GB, free: 456 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3093, allocations: 32.16 kB / 0.5237 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3093, allocations: 4.906 kB / 0.5237 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3094, allocations: 4.688 kB / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.3094, allocations: 5.062 kB / 0.5237 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3094, allocations: 0 / 0.5237 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.3094, allocations: 5.781 kB / 0.5237 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3094, allocations: 0 / 0.5237 GB, free: 408 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 5.613e-05/0.3095, allocations: 139.1 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.3095, allocations: 1 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.136e-05/0.3095, allocations: 8.812 kB / 0.5238 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3095, allocations: 0 / 0.5238 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3095, allocations: 1.781 kB / 0.5238 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3095, allocations: 4 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.44e-05/0.3096, allocations: 144.5 kB / 0.524 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3096, allocations: 1.766 kB / 0.524 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3096, allocations: 0 / 0.524 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3096, allocations: 0 / 0.524 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3096, allocations: 5.688 kB / 0.524 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3096, allocations: 1.031 kB / 0.524 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3096, allocations: 0 / 0.524 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3098, allocations: 96.06 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3098, allocations: 79.11 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3098, allocations: 5.969 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.3099, allocations: 1.406 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3099, allocations: 0 / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3099, allocations: 1.25 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.3099, allocations: 75.28 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3099, allocations: 0 / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005179/0.3105, allocations: 82.89 kB / 0.5243 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.0006456/0.3111, allocations: 220.8 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.3113, allocations: 63.23 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3113, allocations: 0 / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.3113, allocations: 55.53 kB / 0.5246 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.0001448/0.3115, allocations: 2.125 kB / 0.5246 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.3117, allocations: 110.2 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.312, allocations: 0.6789 MB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.312, allocations: 8.906 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3121, allocations: 0 / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Templates: time 0.004265/0.3163, allocations: 1.705 MB / 0.5271 GB, free: 14.26 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches