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.001325/0.001325, allocations: 112.2 kB / 21.23 MB, free: 0.7305 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.001393/0.001393, allocations: 212.4 kB / 24.53 MB, free: 4.141 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8 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.2107/0.2107, allocations: 44.91 MB / 359.6 MB, free: 6.273 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="cs",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.002044/0.002044, allocations: 67.89 kB / 0.4938 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001557/0.3063, allocations: 491.2 kB / 0.5582 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3076, allocations: 0.7904 MB / 0.559 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.26e-05/0.3077, allocations: 0 / 0.559 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.836e-06/0.3077, allocations: 0 / 0.559 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.3077, allocations: 0 / 0.559 GB, free: 6.512 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.001719/0.3094, allocations: 0.6772 MB / 0.5597 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.3094, allocations: 8 kB / 0.5597 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.3095, allocations: 4 kB / 0.5597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.3095, allocations: 0 / 0.5597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.341e-05/0.3095, allocations: 0 / 0.5597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-06/0.3095, allocations: 0 / 0.5597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007967/0.3103, allocations: 480.9 kB / 0.5602 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-06/0.3103, allocations: 0 / 0.5602 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.3103, allocations: 7.984 kB / 0.5602 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.3108, allocations: 353 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3108, allocations: 0 / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3108, allocations: 0 / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.3108, allocations: 0 / 0.5605 GB, free: 5 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.0003576/0.3112, allocations: 323.5 kB / 0.5608 GB, free: 4.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3112, allocations: 12.03 kB / 0.5608 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.036e-05/0.3112, allocations: 192 / 0.5608 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.3112, allocations: 30.75 kB / 0.5608 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.3113, allocations: 4.938 kB / 0.5608 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.3113, allocations: 103.6 kB / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3113, allocations: 384 / 0.5609 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.3114, allocations: 4.375 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.3114, allocations: 34.02 kB / 0.561 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3114, allocations: 0 / 0.561 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.3114, allocations: 3.938 kB / 0.561 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3114, allocations: 4 kB / 0.561 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.3115, allocations: 7.922 kB / 0.561 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.3116, allocations: 116.8 kB / 0.5611 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.3116, allocations: 18.61 kB / 0.5611 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.3116, allocations: 4.859 kB / 0.5611 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.3116, allocations: 4 kB / 0.5611 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.3117, allocations: 60.2 kB / 0.5612 GB, free: 4.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3117, allocations: 0 / 0.5612 GB, free: 4.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.3118, allocations: 71.39 kB / 0.5613 GB, free: 4.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.3119, allocations: 81.11 kB / 0.5613 GB, free: 3.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.312, allocations: 93.81 kB / 0.5614 GB, free: 3.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.312, allocations: 25.7 kB / 0.5615 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.312, allocations: 88.25 kB / 0.5615 GB, free: 3.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.312, allocations: 0 / 0.5615 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.312, allocations: 17.72 kB / 0.5616 GB, free: 3.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3122, allocations: 318.8 kB / 0.5619 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/0.3122, allocations: 3.938 kB / 0.5619 GB, free: 3.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.3122, allocations: 0 / 0.5619 GB, free: 3.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.3122, allocations: 60.27 kB / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3122, allocations: 0 / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.748e-05/0.3123, allocations: 67.41 kB / 0.562 GB, free: 3.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.3123, allocations: 41.62 kB / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3123, allocations: 0 / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3124, allocations: 0 / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3124, allocations: 0 / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3124, allocations: 4 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.3124, allocations: 0 / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3124, allocations: 0 / 0.562 GB, free: 3.184 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.201e-05/0.3125, allocations: 135.5 kB / 0.5622 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.3125, allocations: 7.969 kB / 0.5622 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.3125, allocations: 3 kB / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3125, allocations: 0 / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3125, allocations: 0 / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3125, allocations: 3.984 kB / 0.5622 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.053e-05/0.3126, allocations: 116.8 kB / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.3126, allocations: 0 / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3126, allocations: 0 / 0.5623 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3126, allocations: 7.922 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.3126, allocations: 0 / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3126, allocations: 0 / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3126, allocations: 8 kB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3127, allocations: 98.7 kB / 0.5624 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.3127, allocations: 4 kB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3127, allocations: 7.938 kB / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.3127, allocations: 0 / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.3127, allocations: 0 / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3127, allocations: 3.984 kB / 0.5624 GB, free: 2.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.3128, allocations: 79.31 kB / 0.5625 GB, free: 2.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3128, allocations: 0 / 0.5625 GB, free: 2.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.3131, allocations: 83.73 kB / 0.5626 GB, free: 2.551 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.000775/0.3139, allocations: 0.7556 MB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.314, allocations: 59.41 kB / 0.5634 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.314, allocations: 0 / 0.5634 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.314, allocations: 55.41 kB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.3141, allocations: 4 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.3144, allocations: 142.5 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3147, allocations: 0.6729 MB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.753e-06/0.3147, allocations: 4 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3147, allocations: 11.56 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3147, allocations: 0 / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.3364, allocations: 2.951 MB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 15.84 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB " [Timeout remaining time 649] (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.104713652981445] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.437798642960843 11.461689785 11.146398041 Calling exit ...