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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 209.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 78.06 kB / 499.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1256, allocations: 65.41 MB / 0.5517 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001594/0.1272, allocations: 499 kB / 0.5522 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1286, allocations: 0.7741 MB / 0.553 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.1286, allocations: 0 / 0.553 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1286, allocations: 0 / 0.553 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.1286, allocations: 8 kB / 0.553 GB, free: 9.023 MB / 414.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.001748/0.1304, allocations: 0.6577 MB / 0.5536 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.1304, allocations: 3.984 kB / 0.5536 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1305, allocations: 8 kB / 0.5536 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.1305, allocations: 0 / 0.5536 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.529e-05/0.1305, allocations: 0 / 0.5536 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.1305, allocations: 0 / 0.5536 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.1312, allocations: 415.2 kB / 0.554 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-06/0.1312, allocations: 4 kB / 0.554 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.1312, allocations: 0 / 0.554 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.1317, allocations: 351.4 kB / 0.5544 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1317, allocations: 0 / 0.5544 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1317, allocations: 0 / 0.5544 GB, free: 7.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1317, allocations: 4 kB / 0.5544 GB, free: 7.594 MB / 414.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.0004514/0.1322, allocations: 388.8 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1322, allocations: 12.03 kB / 0.5547 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.1323, allocations: 30.75 kB / 0.5548 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.1323, allocations: 0.9375 kB / 0.5548 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1324, allocations: 160.4 kB / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1324, allocations: 384 / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1324, allocations: 4.375 kB / 0.5549 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.1325, allocations: 38.19 kB / 0.555 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1325, allocations: 3.938 kB / 0.555 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.1325, allocations: 0 / 0.555 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1325, allocations: 3.938 kB / 0.555 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.1325, allocations: 4 kB / 0.555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1327, allocations: 145.7 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.1327, allocations: 18.61 kB / 0.5551 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.1327, allocations: 12.78 kB / 0.5551 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1328, allocations: 4 kB / 0.5552 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.1328, allocations: 60.2 kB / 0.5552 GB, free: 6.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1328, allocations: 0 / 0.5552 GB, free: 6.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.133, allocations: 67.41 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.133, allocations: 77.11 kB / 0.5553 GB, free: 6.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.1331, allocations: 97.8 kB / 0.5554 GB, free: 6.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1331, allocations: 25.7 kB / 0.5555 GB, free: 6.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1331, allocations: 84.14 kB / 0.5555 GB, free: 6.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1331, allocations: 4.125 kB / 0.5556 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1332, allocations: 9.719 kB / 0.5556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1333, allocations: 314.8 kB / 0.5559 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.1333, allocations: 4 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.1333, allocations: 3.938 kB / 0.5559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/0.1334, allocations: 60.27 kB / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1334, allocations: 0 / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.043e-05/0.1334, allocations: 63.45 kB / 0.556 GB, free: 5.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.1335, allocations: 37.7 kB / 0.556 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1335, allocations: 7.938 kB / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1335, allocations: 0 / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1335, allocations: 0 / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.1335, allocations: 0 / 0.556 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.1335, allocations: 4 kB / 0.556 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1335, allocations: 0 / 0.556 GB, free: 5.598 MB / 414.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.028e-05/0.1336, allocations: 137.7 kB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1336, allocations: 8.031 kB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-06/0.1336, allocations: 7.062 kB / 0.5562 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1336, allocations: 3.984 kB / 0.5562 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1336, allocations: 3.938 kB / 0.5562 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1336, allocations: 0 / 0.5562 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1337, allocations: 145.7 kB / 0.5563 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1337, allocations: 0 / 0.5563 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-06/0.1337, allocations: 4 kB / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1337, allocations: 0 / 0.5563 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1337, allocations: 3.938 kB / 0.5563 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1337, allocations: 0 / 0.5563 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1337, allocations: 7.938 kB / 0.5563 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.1338, allocations: 90.83 kB / 0.5564 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1339, allocations: 84.98 kB / 0.5565 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1339, allocations: 3.938 kB / 0.5565 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.1339, allocations: 0 / 0.5565 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1339, allocations: 8 kB / 0.5565 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1339, allocations: 0 / 0.5565 GB, free: 4.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.134, allocations: 79.31 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.134, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.1343, allocations: 83.73 kB / 0.5567 GB, free: 4.836 MB / 414.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.0008514/0.1351, allocations: 0.7587 MB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1353, allocations: 63.39 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1353, allocations: 0 / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.1353, allocations: 55.41 kB / 0.5575 GB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1354, allocations: 3.938 kB / 0.5575 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.1358, allocations: 150.4 kB / 0.5577 GB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1361, allocations: 0.6729 MB / 0.5583 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.1361, allocations: 0 / 0.5583 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.1361, allocations: 7.562 kB / 0.5583 GB, free: 3.008 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1361, allocations: 8 kB / 0.5583 GB, free: 3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1603, allocations: 2.807 MB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.176, allocations: 10.5 kB / 0.5611 GB, free: 260 kB / 414.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.124719457700849] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.24439496314153 8.259442976 8.124767603 Calling exit ...