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: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001356, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001493/0.001494, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2043/0.2043, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3933, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00155/0.3949, allocations: 0.4957 MB / 0.5189 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3962, allocations: 0.7683 MB / 0.5196 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.3962, allocations: 0 / 0.5196 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.3962, allocations: 1.125 kB / 0.5196 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.3962, allocations: 0 / 0.5196 GB, free: 2.469 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.001516/0.3977, allocations: 0.5856 MB / 0.5202 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.311e-05/0.3978, allocations: 1.219 kB / 0.5202 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.3978, allocations: 6.078 kB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.3978, allocations: 1.156 kB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.603e-05/0.3979, allocations: 3.938 kB / 0.5202 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-06/0.3979, allocations: 4 kB / 0.5202 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.3985, allocations: 373.2 kB / 0.5206 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-06/0.3985, allocations: 5.016 kB / 0.5206 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.3986, allocations: 1.062 kB / 0.5206 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.3991, allocations: 332.7 kB / 0.5209 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3991, allocations: 0.6094 kB / 0.5209 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3991, allocations: 0 / 0.5209 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3991, allocations: 1.156 kB / 0.5209 GB, free: 1.945 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.000305/0.3994, allocations: 389.3 kB / 0.5213 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3995, allocations: 14.47 kB / 0.5213 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.121e-05/0.3995, allocations: 36.09 kB / 0.5213 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.3995, allocations: 0.9375 kB / 0.5213 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.269e-05/0.3996, allocations: 161.5 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3996, allocations: 5.469 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.3996, allocations: 2.125 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.3997, allocations: 28.77 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3997, allocations: 5 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3997, allocations: 0 / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3997, allocations: 5.109 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.3997, allocations: 5.781 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.092e-05/0.3998, allocations: 148 kB / 0.5217 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.546e-05/0.3999, allocations: 25.67 kB / 0.5217 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.3999, allocations: 5.516 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.3999, allocations: 1.125 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3999, allocations: 57.88 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3999, allocations: 4 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.4001, allocations: 64.92 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4001, allocations: 78.91 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.91e-05/0.4001, allocations: 94.52 kB / 0.522 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.4001, allocations: 26.92 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.007e-05/0.4002, allocations: 80.14 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.4002, allocations: 5.156 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.4002, allocations: 11.67 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.4003, allocations: 316.9 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.4003, allocations: 5.156 kB / 0.5224 GB, free: 224 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.4003, allocations: 5.703 kB / 0.5224 GB, free: 220 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.4003, allocations: 64.2 kB / 0.5225 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4003, allocations: 0 / 0.5225 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.963e-05/0.4004, allocations: 60.11 kB / 0.5225 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4004, allocations: 31.77 kB / 0.5226 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4004, allocations: 4.5 kB / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4004, allocations: 5.406 kB / 0.5226 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-06/0.4005, allocations: 4.609 kB / 0.5226 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4005, allocations: 0 / 0.5226 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.4005, allocations: 0.9688 kB / 0.5226 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.4005, allocations: 1.781 kB / 0.5226 GB, free: 36 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 9.317e-05/0.4006, allocations: 138.2 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.4006, allocations: 5.641 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.066e-05/0.4006, allocations: 7.719 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.4006, allocations: 0 / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4006, allocations: 5.375 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4006, allocations: 0.6562 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4008, allocations: 148.7 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4008, allocations: 1.188 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4008, allocations: 0 / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4008, allocations: 1.844 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4008, allocations: 3.938 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4008, allocations: 1.125 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4008, allocations: 0.75 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.4009, allocations: 92.34 kB / 0.523 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.401, allocations: 79.19 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.401, allocations: 3.938 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.401, allocations: 6.25 kB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.401, allocations: 0 / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.401, allocations: 5.156 kB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.4011, allocations: 75.94 kB / 0.5231 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4011, allocations: 0 / 0.5231 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.4015, allocations: 86.34 kB / 0.5232 GB, free: 15.37 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.0007559/0.4022, allocations: 0.7465 MB / 0.524 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.4024, allocations: 58.81 kB / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4024, allocations: 4.062 kB / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.4024, allocations: 59.38 kB / 0.5241 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4025, allocations: 1.844 kB / 0.5241 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.4028, allocations: 136.9 kB / 0.5242 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.4031, allocations: 0.6746 MB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.4e-06/0.4031, allocations: 0 / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.4031, allocations: 9.078 kB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4031, allocations: 0 / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.4237, allocations: 2.69 MB / 0.5275 GB, free: 12.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.1, allocations: 2.406 kB / 0.5275 GB, free: 12.8 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1)