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.001753/0.001753, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002093/0.002093, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2535/0.2535, allocations: 44.92 MB / 358.8 MB, free: 6.379 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.002298/0.002298, allocations: 64.17 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.316, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001676/0.3177, allocations: 489.7 kB / 0.5575 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3192, allocations: 0.7768 MB / 0.5582 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.3192, allocations: 0 / 0.5582 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.3192, allocations: 0 / 0.5582 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.3192, allocations: 0 / 0.5582 GB, free: 6.52 MB / 398.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.00192/0.3212, allocations: 0.6888 MB / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.3212, allocations: 0 / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.3212, allocations: 0 / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3213, allocations: 3.984 kB / 0.5589 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.604e-05/0.3213, allocations: 4 kB / 0.5589 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-06/0.3213, allocations: 0 / 0.5589 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.3222, allocations: 471.2 kB / 0.5594 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/0.3222, allocations: 3.938 kB / 0.5594 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.3222, allocations: 4 kB / 0.5594 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.3228, allocations: 357 kB / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3228, allocations: 0 / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3228, allocations: 0 / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3228, allocations: 0 / 0.5597 GB, free: 5.004 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.0004082/0.3232, allocations: 319.6 kB / 0.56 GB, free: 4.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3233, allocations: 8.031 kB / 0.56 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.3233, allocations: 34.69 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3233, allocations: 8.875 kB / 0.5601 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.3234, allocations: 107.6 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.3234, allocations: 4.375 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3234, allocations: 384 / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.3235, allocations: 34.27 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3235, allocations: 3.938 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3236, allocations: 7.922 kB / 0.5602 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3236, allocations: 0 / 0.5602 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.3236, allocations: 0 / 0.5602 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.3237, allocations: 116.8 kB / 0.5603 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.3238, allocations: 22.52 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.3238, allocations: 4.859 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.3238, allocations: 0 / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3238, allocations: 64.36 kB / 0.5604 GB, free: 4.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3238, allocations: 0 / 0.5604 GB, free: 4.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.324, allocations: 67.33 kB / 0.5605 GB, free: 4.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3241, allocations: 81.05 kB / 0.5606 GB, free: 3.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.3241, allocations: 97.94 kB / 0.5607 GB, free: 3.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3241, allocations: 25.7 kB / 0.5607 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.3242, allocations: 80.14 kB / 0.5608 GB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3242, allocations: 4 kB / 0.5608 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3242, allocations: 17.72 kB / 0.5608 GB, free: 3.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3244, allocations: 314.8 kB / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.3244, allocations: 0 / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.3244, allocations: 0 / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.3244, allocations: 64.33 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3244, allocations: 0 / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.899e-05/0.3245, allocations: 67.39 kB / 0.5612 GB, free: 3.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.3246, allocations: 29.7 kB / 0.5612 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3246, allocations: 7.938 kB / 0.5612 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3246, allocations: 3.938 kB / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3246, allocations: 0 / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3246, allocations: 0 / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.3246, allocations: 0 / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3246, allocations: 32 / 0.5612 GB, free: 3.195 MB / 398.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 8.915e-05/0.3247, allocations: 139.5 kB / 0.5614 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.3247, allocations: 0 / 0.5614 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.3247, allocations: 10.92 kB / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3247, allocations: 0 / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3247, allocations: 0 / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3247, allocations: 0 / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.3248, allocations: 124.7 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3248, allocations: 3.938 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.3248, allocations: 0 / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3248, allocations: 4 kB / 0.5615 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3248, allocations: 3.938 kB / 0.5615 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3248, allocations: 4 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3248, allocations: 4 kB / 0.5615 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.325, allocations: 90.77 kB / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.325, allocations: 4 kB / 0.5616 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.325, allocations: 3.938 kB / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.325, allocations: 8.016 kB / 0.5616 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.325, allocations: 3.984 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.325, allocations: 0 / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.325, allocations: 79.28 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.325, allocations: 0 / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.3254, allocations: 79.73 kB / 0.5618 GB, free: 2.559 MB / 398.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.0008906/0.3263, allocations: 0.7569 MB / 0.5625 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.3264, allocations: 63.34 kB / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3264, allocations: 0 / 0.5626 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.3264, allocations: 51.41 kB / 0.5626 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3266, allocations: 13.31 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3269, allocations: 146.6 kB / 0.5628 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3272, allocations: 0.6729 MB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.3273, allocations: 4 kB / 0.5634 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.3273, allocations: 7.438 kB / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3273, allocations: 0 / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3564, allocations: 2.923 MB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.68, allocations: 9.172 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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: 14.526649221079424] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.785459502134472 11.809722142 11.482390534 Calling exit ...