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.00171/0.00171, allocations: 117.2 kB / 17.79 MB, free: 5.25 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.001941/0.001941, allocations: 181 kB / 18.71 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.517/1.517, allocations: 222.9 MB / 242.4 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.2077/0.2077, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3277, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001373/0.3291, allocations: 0.4902 MB / 0.5189 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3303, allocations: 0.7659 MB / 0.5196 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.3303, allocations: 0 / 0.5196 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.3303, allocations: 4 kB / 0.5196 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.01e-06/0.3304, allocations: 0 / 0.5196 GB, free: 2.48 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.001419/0.3318, allocations: 0.5902 MB / 0.5202 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.162e-05/0.3318, allocations: 1.062 kB / 0.5202 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.3319, allocations: 1.734 kB / 0.5202 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.3319, allocations: 4.984 kB / 0.5202 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.3319, allocations: 5.547 kB / 0.5202 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.3319, allocations: 0 / 0.5202 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.3326, allocations: 376.7 kB / 0.5206 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-06/0.3326, allocations: 0 / 0.5206 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.3326, allocations: 1.344 kB / 0.5206 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.3332, allocations: 337.8 kB / 0.5209 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3332, allocations: 4 kB / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3332, allocations: 0 / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3332, allocations: 1.156 kB / 0.5209 GB, free: 1.949 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.0003389/0.3335, allocations: 389.8 kB / 0.5213 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3336, allocations: 9.281 kB / 0.5213 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.3336, allocations: 32.44 kB / 0.5213 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.3337, allocations: 4.938 kB / 0.5213 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.383e-05/0.3337, allocations: 161.7 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3337, allocations: 1.531 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.3338, allocations: 1.5 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.3338, allocations: 34.05 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3339, allocations: 3.938 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3339, allocations: 4.641 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3339, allocations: 1.031 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.3339, allocations: 1.156 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.334, allocations: 145.1 kB / 0.5217 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.3341, allocations: 21.11 kB / 0.5217 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.3341, allocations: 10.75 kB / 0.5217 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3341, allocations: 0 / 0.5217 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3341, allocations: 58.2 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3342, allocations: 0 / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.3343, allocations: 70.03 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3344, allocations: 81.05 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.453e-05/0.3344, allocations: 95.66 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3344, allocations: 25.83 kB / 0.522 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.3344, allocations: 84.14 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3345, allocations: 5.031 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.3345, allocations: 12.73 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3346, allocations: 312.8 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.3346, allocations: 0 / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.3346, allocations: 5.812 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.3346, allocations: 68.22 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3346, allocations: 4.062 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.434e-05/0.3347, allocations: 59.78 kB / 0.5225 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.3347, allocations: 33.34 kB / 0.5226 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3347, allocations: 3.938 kB / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3347, allocations: 0 / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3348, allocations: 1.031 kB / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3348, allocations: 0.7969 kB / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.3348, allocations: 0.8438 kB / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3348, allocations: 5.234 kB / 0.5226 GB, free: 48 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 0.0001142/0.3349, allocations: 139.5 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.3349, allocations: 5.172 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.335, allocations: 7.766 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.335, allocations: 0 / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.335, allocations: 1.125 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.335, allocations: 0.7031 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.3351, allocations: 148.3 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3351, allocations: 2.266 kB / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.3351, allocations: 0 / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3351, allocations: 0 / 0.5229 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3352, allocations: 13.94 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3352, allocations: 3.938 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3352, allocations: 1.656 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3353, allocations: 87.86 kB / 0.523 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3353, allocations: 77.86 kB / 0.5231 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3354, allocations: 5.031 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.3354, allocations: 1.781 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.3354, allocations: 5.156 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.3354, allocations: 1.156 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.3354, allocations: 76.12 kB / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.3358, allocations: 80.89 kB / 0.5232 GB, free: 15.39 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.000842/0.3367, allocations: 0.7554 MB / 0.524 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.3368, allocations: 57.88 kB / 0.524 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3368, allocations: 1.438 kB / 0.524 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.3368, allocations: 54.91 kB / 0.5241 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.337, allocations: 2.531 kB / 0.5241 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.3373, allocations: 136.8 kB / 0.5242 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3376, allocations: 0.6788 MB / 0.5249 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.809e-06/0.3376, allocations: 3.938 kB / 0.5249 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.3376, allocations: 7.438 kB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3376, allocations: 1.344 kB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.361, allocations: 2.69 MB / 0.5275 GB, free: 12.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.463, allocations: 2.406 kB / 0.5275 GB, free: 12.79 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)