Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001807/0.001807, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00213/0.00213, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.233/0.233, allocations: 46.97 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.377, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001699/0.3787, allocations: 0.4893 MB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3801, allocations: 0.7238 MB / 0.5618 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.3802, allocations: 0 / 0.5618 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.3802, allocations: 4 kB / 0.5618 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.3802, allocations: 0 / 0.5618 GB, free: 3.023 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001893/0.3821, allocations: 0.6381 MB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.3821, allocations: 4 kB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3822, allocations: 4 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.3822, allocations: 0 / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.3822, allocations: 7.922 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-06/0.3822, allocations: 3.938 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000791/0.383, allocations: 403.2 kB / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.383, allocations: 0 / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.383, allocations: 0 / 0.5628 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3835, allocations: 345 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3835, allocations: 0 / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3835, allocations: 4 kB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3835, allocations: 0 / 0.5631 GB, free: 1.633 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.0003935/0.3839, allocations: 319.5 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.384, allocations: 8.031 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.384, allocations: 30.75 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.384, allocations: 0.9375 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.178e-05/0.3841, allocations: 111.6 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.3841, allocations: 384 / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3841, allocations: 4.312 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.3842, allocations: 59.95 kB / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3842, allocations: 7.938 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.3842, allocations: 0 / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3842, allocations: 3.984 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.3843, allocations: 25.7 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.3844, allocations: 116.8 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.3845, allocations: 52.3 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.3845, allocations: 34.5 kB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.3845, allocations: 0 / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.3846, allocations: 56.27 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3846, allocations: 4.062 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002042/0.3848, allocations: 122.7 kB / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.3848, allocations: 81.11 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.3849, allocations: 93.81 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3849, allocations: 25.7 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3849, allocations: 80.14 kB / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3849, allocations: 0 / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.385, allocations: 13.72 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3851, allocations: 318.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.3852, allocations: 29.64 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.3852, allocations: 33.69 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.3853, allocations: 68.39 kB / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3853, allocations: 0 / 0.5647 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.3854, allocations: 85.11 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3854, allocations: 37.69 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3854, allocations: 3.938 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3854, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3854, allocations: 3.938 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3854, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.3854, allocations: 4 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3855, allocations: 0 / 0.5649 GB, free: 15.54 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 0.0001077/0.3856, allocations: 139.5 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.3856, allocations: 4 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.3856, allocations: 6.938 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3856, allocations: 3.984 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3856, allocations: 0 / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3856, allocations: 0 / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3857, allocations: 116.8 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3857, allocations: 0 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3857, allocations: 0 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3857, allocations: 0 / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3857, allocations: 11.94 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3857, allocations: 4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3857, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3859, allocations: 116.5 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.3859, allocations: 4 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3859, allocations: 3.938 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.3859, allocations: 3.984 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.3859, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3859, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.386, allocations: 83.22 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.386, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.3863, allocations: 83.77 kB / 0.5654 GB, free: 14.88 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.0008988/0.3872, allocations: 0.7846 MB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.3873, allocations: 106.8 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3873, allocations: 3.938 kB / 0.5663 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.3874, allocations: 89.03 kB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3875, allocations: 6.969 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.3879, allocations: 168.4 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.388, allocations: 59.34 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.388, allocations: 0 / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.388, allocations: 11.42 kB / 0.5666 GB, free: 13.51 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.388, allocations: 0 / 0.5666 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.4229, allocations: 3.331 MB / 0.5699 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 5.391 kB / 0.5699 GB, free: 10.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.700084370095283] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.870628809090704 11.887333032 11.500694512 Calling exit ...