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.00124/0.00124, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001192/0.001192, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2102/0.2102, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.88 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001436/0.321, allocations: 493 kB / 0.5189 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3221, allocations: 0.7773 MB / 0.5196 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.3221, allocations: 0 / 0.5196 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.3221, allocations: 0 / 0.5196 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.3221, allocations: 1.344 kB / 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.00139/0.3235, allocations: 0.5905 MB / 0.5202 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.3236, allocations: 1.906 kB / 0.5202 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.3236, allocations: 1.703 kB / 0.5202 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.5e-05/0.3236, allocations: 5.031 kB / 0.5202 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.517e-05/0.3236, allocations: 4.734 kB / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-06/0.3236, allocations: 0 / 0.5202 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.3242, allocations: 380.3 kB / 0.5206 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.3242, allocations: 1.125 kB / 0.5206 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.3242, allocations: 0 / 0.5206 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004712/0.3247, allocations: 334.3 kB / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3247, allocations: 1.438 kB / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3247, allocations: 0 / 0.5209 GB, free: 1.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3247, allocations: 0 / 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.0003114/0.325, allocations: 394.4 kB / 0.5213 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3251, allocations: 9.75 kB / 0.5213 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.3251, allocations: 39.42 kB / 0.5213 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.3251, allocations: 0.9375 kB / 0.5213 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.243e-05/0.3252, allocations: 162.5 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3252, allocations: 1.172 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.3252, allocations: 1.719 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.806e-05/0.3253, allocations: 28.66 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3253, allocations: 9.188 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.3253, allocations: 0.7969 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.3253, allocations: 0 / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.529e-05/0.3253, allocations: 1.312 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.419e-05/0.3254, allocations: 148.9 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.3254, allocations: 21.14 kB / 0.5217 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.3254, allocations: 6.781 kB / 0.5217 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.3254, allocations: 0 / 0.5217 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3255, allocations: 62.47 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3255, allocations: 0 / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.3256, allocations: 68.36 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.3256, allocations: 83.23 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.033e-05/0.3256, allocations: 90.47 kB / 0.522 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-06/0.3256, allocations: 25.7 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-06/0.3257, allocations: 81.58 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3257, allocations: 7.922 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.3257, allocations: 17.48 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.3257, allocations: 311.4 kB / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.3257, allocations: 2.062 kB / 0.5224 GB, free: 232 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.3257, allocations: 5.188 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.3258, allocations: 63.17 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3258, allocations: 1.891 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.631e-05/0.3258, allocations: 59.38 kB / 0.5225 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3258, allocations: 35.16 kB / 0.5226 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3258, allocations: 9.594 kB / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3259, allocations: 0 / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.3259, allocations: 1.031 kB / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.3259, allocations: 0.7969 kB / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.3259, allocations: 1 kB / 0.5226 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3259, allocations: 0 / 0.5226 GB, free: 44 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.0001053/0.326, allocations: 139.2 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.326, allocations: 4.984 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.326, allocations: 12.98 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.326, allocations: 3.984 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.326, allocations: 0.6094 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.326, allocations: 1.188 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3261, allocations: 148.5 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3261, allocations: 1.781 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3261, allocations: 0 / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3261, allocations: 0 / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3261, allocations: 9.812 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3261, allocations: 1.156 kB / 0.5229 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3261, allocations: 4 kB / 0.5229 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.3262, allocations: 92.77 kB / 0.523 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.3263, allocations: 77.81 kB / 0.5231 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3263, allocations: 5.719 kB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.3263, allocations: 1.281 kB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3263, allocations: 0 / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3263, allocations: 1.625 kB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.3264, allocations: 80.31 kB / 0.5232 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 0 / 0.5232 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.3267, allocations: 82.11 kB / 0.5232 GB, free: 15.38 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.0007668/0.3275, allocations: 0.7425 MB / 0.524 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.3276, allocations: 66.06 kB / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3276, allocations: 0 / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.3276, allocations: 56.05 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.0001232/0.3277, allocations: 4.656 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.0003232/0.328, allocations: 136.6 kB / 0.5242 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.3283, allocations: 0.675 MB / 0.5249 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.809e-06/0.3283, allocations: 1.094 kB / 0.5249 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.3283, allocations: 7.438 kB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3283, allocations: 9.094 kB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.3532, allocations: 2.69 MB / 0.5275 GB, free: 12.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.258, allocations: 10.36 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)