Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2254/0.2254, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003738/0.003738, allocations: 83.86 kB / 0.4916 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1802, allocations: 66.04 MB / 0.5561 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001526/0.1817, allocations: 498.4 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1831, allocations: 0.7665 MB / 0.5574 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.1831, allocations: 0 / 0.5574 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.237e-06/0.1831, allocations: 0 / 0.5574 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.01e-06/0.1831, allocations: 0 / 0.5574 GB, free: 4.336 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001697/0.1848, allocations: 0.6725 MB / 0.558 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.1848, allocations: 3.984 kB / 0.558 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.1849, allocations: 0 / 0.558 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.1849, allocations: 4 kB / 0.558 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.381e-05/0.1849, allocations: 0 / 0.558 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-06/0.1849, allocations: 0 / 0.558 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.1856, allocations: 419.2 kB / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.1856, allocations: 0 / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1856, allocations: 4 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1861, allocations: 347.2 kB / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1861, allocations: 0 / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1861, allocations: 0 / 0.5588 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1861, allocations: 0 / 0.5588 GB, free: 2.902 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.000426/0.1865, allocations: 388.7 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1865, allocations: 15.97 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.1866, allocations: 34.75 kB / 0.5592 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.1866, allocations: 0.9375 kB / 0.5592 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1867, allocations: 164.4 kB / 0.5593 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.1867, allocations: 384 / 0.5593 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.1867, allocations: 4.312 kB / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.1868, allocations: 30.27 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1868, allocations: 3.938 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1868, allocations: 3.984 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1868, allocations: 0 / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.1869, allocations: 8 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.187, allocations: 145.7 kB / 0.5595 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.371e-05/0.187, allocations: 22.5 kB / 0.5595 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.1871, allocations: 8.953 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.1871, allocations: 0 / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.1871, allocations: 60.27 kB / 0.5596 GB, free: 1.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1871, allocations: 0 / 0.5596 GB, free: 1.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.1873, allocations: 75.27 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1874, allocations: 81.05 kB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.1874, allocations: 93.81 kB / 0.5599 GB, free: 1.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1874, allocations: 25.7 kB / 0.5599 GB, free: 1.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.1875, allocations: 80.14 kB / 0.56 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1875, allocations: 4 kB / 0.56 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.1875, allocations: 13.72 kB / 0.56 GB, free: 1.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1876, allocations: 310.8 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-06/0.1876, allocations: 4.125 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.1877, allocations: 4 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.1877, allocations: 64.25 kB / 0.5603 GB, free: 1.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1877, allocations: 0 / 0.5603 GB, free: 1.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.97e-05/0.1878, allocations: 63.34 kB / 0.5604 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.1878, allocations: 35.27 kB / 0.5604 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1878, allocations: 3.938 kB / 0.5604 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1878, allocations: 0 / 0.5604 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1878, allocations: 96 / 0.5604 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1878, allocations: 4 kB / 0.5604 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.1879, allocations: 0 / 0.5604 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1879, allocations: 3.984 kB / 0.5604 GB, free: 0.8984 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.158e-05/0.188, allocations: 135.5 kB / 0.5606 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.188, allocations: 0 / 0.5606 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.308e-06/0.188, allocations: 7.062 kB / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.188, allocations: 0 / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.188, allocations: 7.938 kB / 0.5606 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.188, allocations: 0 / 0.5606 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1881, allocations: 153.7 kB / 0.5607 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1881, allocations: 0 / 0.5607 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.1881, allocations: 0 / 0.5607 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1881, allocations: 0 / 0.5607 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1881, allocations: 7.938 kB / 0.5607 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1881, allocations: 0 / 0.5607 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1881, allocations: 0 / 0.5607 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.1882, allocations: 90.77 kB / 0.5608 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.1882, allocations: 89.14 kB / 0.5609 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1883, allocations: 3.938 kB / 0.5609 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.1883, allocations: 0 / 0.5609 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.1883, allocations: 0 / 0.5609 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1883, allocations: 0 / 0.5609 GB, free: 316 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.1883, allocations: 83.28 kB / 0.561 GB, free: 232 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1883, allocations: 0 / 0.561 GB, free: 232 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1887, allocations: 79.73 kB / 0.5611 GB, free: 152 kB / 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.0008445/0.1895, allocations: 0.7523 MB / 0.5618 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.657e-05/0.1896, allocations: 71.33 kB / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1896, allocations: 0 / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.1896, allocations: 55.41 kB / 0.5619 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.1898, allocations: 8.062 kB / 0.5619 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.1901, allocations: 150.4 kB / 0.5621 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1904, allocations: 0.6767 MB / 0.5627 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.372e-06/0.1904, allocations: 0 / 0.5627 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.1904, allocations: 7.438 kB / 0.5627 GB, free: 14.31 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1904, allocations: 0 / 0.5627 GB, free: 14.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.2145, allocations: 2.812 MB / 0.5655 GB, free: 11.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.315, allocations: 14.69 kB / 0.5655 GB, free: 11.55 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.343948472756892] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.38211775990203 8.39619844 8.207259954 Calling exit ...