Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001653, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001504/0.3189, allocations: 492.9 kB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3202, allocations: 0.7635 MB / 0.5317 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.3202, allocations: 1.25 kB / 0.5317 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.3202, allocations: 7.938 kB / 0.5317 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.3202, allocations: 0 / 0.5317 GB, free: 12.46 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001641/0.3219, allocations: 0.6596 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.952e-05/0.3219, allocations: 5.562 kB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.322, allocations: 1.438 kB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.322, allocations: 1.531 kB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.379e-05/0.322, allocations: 0 / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-06/0.322, allocations: 0 / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3226, allocations: 391.7 kB / 0.5328 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.3227, allocations: 0 / 0.5328 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.3227, allocations: 1.312 kB / 0.5328 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.3232, allocations: 351.9 kB / 0.5331 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3232, allocations: 0 / 0.5331 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3232, allocations: 5.375 kB / 0.5331 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3232, allocations: 0 / 0.5331 GB, free: 11.6 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.0004099/0.3236, allocations: 393.2 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3237, allocations: 8.25 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.3237, allocations: 32.12 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.3237, allocations: 0.9375 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.3238, allocations: 165.7 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3238, allocations: 384 / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3239, allocations: 1.75 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.3239, allocations: 35.62 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.324, allocations: 5.312 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.324, allocations: 0 / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.324, allocations: 0 / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.324, allocations: 1.375 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.3241, allocations: 151 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.3242, allocations: 21.27 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.3242, allocations: 8.844 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.3242, allocations: 9.312 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.3243, allocations: 57.64 kB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3243, allocations: 0 / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000158/0.3244, allocations: 66.22 kB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3245, allocations: 82.47 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.3246, allocations: 93.81 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3246, allocations: 29.64 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.3246, allocations: 85.64 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.3246, allocations: 0 / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3247, allocations: 12.47 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3248, allocations: 310.8 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.3248, allocations: 1.375 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.3248, allocations: 1.375 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.3249, allocations: 63.02 kB / 0.5347 GB, free: 9.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3249, allocations: 64 / 0.5347 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.232e-05/0.325, allocations: 66.27 kB / 0.5347 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.325, allocations: 31.2 kB / 0.5347 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.325, allocations: 3.938 kB / 0.5348 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.325, allocations: 1.375 kB / 0.5348 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.325, allocations: 3.938 kB / 0.5348 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.325, allocations: 0 / 0.5348 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.3251, allocations: 1.375 kB / 0.5348 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3251, allocations: 0 / 0.5348 GB, free: 9.68 MB / 398.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 0.0001474/0.3252, allocations: 146.3 kB / 0.5349 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.3252, allocations: 5.375 kB / 0.5349 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-06/0.3252, allocations: 7.062 kB / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3253, allocations: 0 / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3253, allocations: 1.375 kB / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3253, allocations: 0 / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.941e-05/0.3254, allocations: 147 kB / 0.5351 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3254, allocations: 0 / 0.5351 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3254, allocations: 1.375 kB / 0.5351 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3254, allocations: 0 / 0.5351 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3254, allocations: 9.25 kB / 0.5351 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3254, allocations: 4 kB / 0.5351 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3254, allocations: 0 / 0.5351 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.567e-05/0.3255, allocations: 89.83 kB / 0.5352 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.3256, allocations: 78.48 kB / 0.5352 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.3256, allocations: 7.875 kB / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-06/0.3256, allocations: 1.375 kB / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3256, allocations: 0 / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.3256, allocations: 5.406 kB / 0.5352 GB, free: 9.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.493e-05/0.3257, allocations: 79.22 kB / 0.5353 GB, free: 9.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 0 / 0.5353 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.3261, allocations: 82.86 kB / 0.5354 GB, free: 9.004 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.0008889/0.327, allocations: 0.759 MB / 0.5361 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3271, allocations: 64.83 kB / 0.5362 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3271, allocations: 0 / 0.5362 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3272, allocations: 59.53 kB / 0.5363 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3273, allocations: 1.375 kB / 0.5363 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.3277, allocations: 135.6 kB / 0.5364 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.328, allocations: 0.6741 MB / 0.537 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.386e-06/0.328, allocations: 4.125 kB / 0.537 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.328, allocations: 8.938 kB / 0.5371 GB, free: 7.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.328, allocations: 0 / 0.5371 GB, free: 7.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3514, allocations: 2.789 MB / 0.5398 GB, free: 5.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.969, allocations: 10.06 kB / 0.5398 GB, free: 5.742 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1)