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.001278/0.001278, allocations: 116.1 kB / 21.23 MB, free: 0.6016 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.0014/0.0014, allocations: 221 kB / 24.54 MB, free: 3.812 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2183/0.2183, allocations: 46.95 MB / 361.7 MB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.91 kB / 0.4969 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3102, allocations: 66.03 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001573/0.3117, allocations: 491.9 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3131, allocations: 0.7822 MB / 0.5626 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.3131, allocations: 0 / 0.5626 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.3131, allocations: 4 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.3131, allocations: 0 / 0.5626 GB, free: 3.188 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.001795/0.3149, allocations: 0.681 MB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.276e-05/0.315, allocations: 4 kB / 0.5633 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.315, allocations: 0 / 0.5633 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.998e-05/0.315, allocations: 4 kB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.43e-05/0.315, allocations: 0 / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-06/0.3151, allocations: 0 / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008059/0.3159, allocations: 471.1 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.3159, allocations: 3.984 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.3159, allocations: 8 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.3164, allocations: 353 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3164, allocations: 0 / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3164, allocations: 8 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3164, allocations: 0 / 0.5641 GB, free: 1.672 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.0003819/0.3168, allocations: 315.6 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3168, allocations: 8.031 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3168, allocations: 192 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.207e-05/0.3168, allocations: 30.75 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.3169, allocations: 8.875 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.3169, allocations: 103.6 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3169, allocations: 4.375 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.317, allocations: 4.312 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/0.317, allocations: 34.02 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.317, allocations: 0 / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.317, allocations: 0 / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.317, allocations: 3.984 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.3171, allocations: 3.938 kB / 0.5646 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.3172, allocations: 120.8 kB / 0.5647 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.3172, allocations: 18.58 kB / 0.5647 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.3172, allocations: 8.953 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.3172, allocations: 0 / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/0.3173, allocations: 68.17 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3173, allocations: 0 / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.3175, allocations: 71.33 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.3175, allocations: 77.11 kB / 0.565 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.3176, allocations: 97.94 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3176, allocations: 25.7 kB / 0.5651 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.3176, allocations: 80.14 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3176, allocations: 4 kB / 0.5652 GB, free: 420 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.3177, allocations: 17.72 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3178, allocations: 314.8 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.3178, allocations: 0 / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.3178, allocations: 4 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.3179, allocations: 64.33 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3179, allocations: 0 / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.624e-05/0.318, allocations: 59.34 kB / 0.5656 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.318, allocations: 48.44 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.318, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.318, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.318, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.318, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.318, allocations: 4 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.318, allocations: 4 kB / 0.5657 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.136e-05/0.3181, allocations: 135.6 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.3181, allocations: 3.938 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-06/0.3181, allocations: 3 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3182, allocations: 7.984 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3182, allocations: 3.938 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3182, allocations: 0 / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.3182, allocations: 112.8 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3182, allocations: 3.938 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3182, allocations: 0 / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.3183, allocations: 11.94 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3183, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.3183, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3183, allocations: 0 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.3184, allocations: 94.77 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.3184, allocations: 4 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3184, allocations: 3.938 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.3184, allocations: 8.016 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.3184, allocations: 4 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3184, allocations: 0 / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.3184, allocations: 75.28 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3184, allocations: 0 / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.3188, allocations: 83.73 kB / 0.5662 GB, free: 15.23 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.0008129/0.3196, allocations: 0.7546 MB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.3197, allocations: 59.41 kB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3197, allocations: 0 / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.3197, allocations: 55.41 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3198, allocations: 3.984 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.3202, allocations: 150.6 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3205, allocations: 0.669 MB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.02e-06/0.3205, allocations: 0 / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.3205, allocations: 11.44 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3205, allocations: 0 / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.3431, allocations: 2.964 MB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 16.58 kB / 0.5708 GB, free: 10.58 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.85432392405346] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.23377175902715 11.250086361 10.930141622 Calling exit ...