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.001328/0.001328, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001463/0.001463, allocations: 216 kB / 23.75 MB, free: 4.668 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2345/0.2345, allocations: 46.93 MB / 360.9 MB, free: 4.258 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+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.001962/0.001962, allocations: 75.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 66.02 MB / 0.5606 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001641/0.3293, allocations: 0.4917 MB / 0.5611 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3308, allocations: 0.7821 MB / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.3308, allocations: 0 / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.3308, allocations: 4 kB / 0.5619 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.3308, allocations: 0 / 0.5619 GB, free: 3.184 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.001766/0.3326, allocations: 0.6733 MB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.3326, allocations: 11.97 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.3326, allocations: 4 kB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.3327, allocations: 0 / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.3327, allocations: 3.938 kB / 0.5626 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-06/0.3327, allocations: 0 / 0.5626 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.3335, allocations: 479.1 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-06/0.3335, allocations: 0 / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.3335, allocations: 0 / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.334, allocations: 353.1 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.334, allocations: 0 / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.334, allocations: 7.938 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.334, allocations: 0 / 0.5634 GB, free: 1.668 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.0004387/0.3345, allocations: 315.5 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3345, allocations: 8.031 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.3345, allocations: 38.73 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.3346, allocations: 0.9375 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.3346, allocations: 103.6 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3347, allocations: 384 / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3347, allocations: 384 / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3348, allocations: 38.27 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3348, allocations: 3.938 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3348, allocations: 0 / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3348, allocations: 0 / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.3348, allocations: 4 kB / 0.5638 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.335, allocations: 120.7 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/0.335, allocations: 14.67 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.335, allocations: 8.859 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.335, allocations: 4 kB / 0.564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/0.3351, allocations: 60.27 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3351, allocations: 0 / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.00018/0.3353, allocations: 71.27 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3353, allocations: 77.11 kB / 0.5642 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.3354, allocations: 93.81 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3354, allocations: 25.7 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3355, allocations: 88.27 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3355, allocations: 3.938 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.3356, allocations: 17.72 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3357, allocations: 310.8 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.3357, allocations: 4 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.3357, allocations: 3.984 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.3358, allocations: 64.2 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3358, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.457e-05/0.3359, allocations: 67.41 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.3359, allocations: 33.7 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3359, allocations: 3.938 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3359, allocations: 3.984 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3359, allocations: 0 / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3359, allocations: 3.984 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.336, allocations: 4 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.336, allocations: 4 kB / 0.5649 GB, free: 15.86 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.466e-05/0.3361, allocations: 135.6 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.3361, allocations: 0 / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.3361, allocations: 10.94 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.3361, allocations: 0 / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3361, allocations: 0 / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3361, allocations: 0 / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.3362, allocations: 120.8 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3362, allocations: 4 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3362, allocations: 0 / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.3362, allocations: 0 / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3362, allocations: 7.922 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3362, allocations: 4 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3362, allocations: 3.984 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.3364, allocations: 94.77 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-06/0.3364, allocations: 0 / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3364, allocations: 3.938 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.3364, allocations: 4 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3364, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3364, allocations: 32 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.3364, allocations: 79.28 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3364, allocations: 0 / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000342/0.3368, allocations: 91.66 kB / 0.5654 GB, free: 15.22 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.0008506/0.3376, allocations: 0.7551 MB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.3377, allocations: 59.34 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3377, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.3378, allocations: 55.41 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3379, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.3383, allocations: 146.5 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.3388, allocations: 0.669 MB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.435e-06/0.3388, allocations: 4 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.3388, allocations: 11.56 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3388, allocations: 0 / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.3684, allocations: 2.932 MB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.21, allocations: 4.062 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.985023827059194] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.316972529049963 11.337349649 11.000317959 Calling exit ...