Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.001389/0.001389, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001468/0.001468, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2351/0.2351, allocations: 44.9 MB / 359.6 MB, free: 6.301 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",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.001984/0.001984, allocations: 63.91 kB / 0.4938 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001582/0.3091, allocations: 0.4925 MB / 0.5583 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.3113, allocations: 1.577 MB / 0.5598 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.3113, allocations: 0 / 0.5598 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.3113, allocations: 4 kB / 0.5598 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-06/0.3113, allocations: 3.938 kB / 0.5598 GB, free: 5.695 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009502/0.3123, allocations: 251.4 kB / 0.56 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.592e-05/0.3123, allocations: 3.938 kB / 0.56 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.3123, allocations: 7.984 kB / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.3123, allocations: 0 / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.189e-05/0.3124, allocations: 0 / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-06/0.3124, allocations: 0 / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3134, allocations: 0.8039 MB / 0.5608 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.3134, allocations: 7.984 kB / 0.5608 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.3135, allocations: 4 kB / 0.5608 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007204/0.3142, allocations: 0.6491 MB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3142, allocations: 0 / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.3142, allocations: 3.938 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3142, allocations: 0 / 0.5615 GB, free: 3.969 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.000405/0.3146, allocations: 294 kB / 0.5618 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3146, allocations: 8.031 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.3146, allocations: 4.188 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.3147, allocations: 42.73 kB / 0.5618 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.3147, allocations: 0.9375 kB / 0.5618 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.3148, allocations: 102.5 kB / 0.5619 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.3148, allocations: 384 / 0.5619 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3148, allocations: 8.359 kB / 0.5619 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.518e-05/0.3149, allocations: 29.64 kB / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.3149, allocations: 0 / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.3149, allocations: 0 / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3149, allocations: 0 / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.3149, allocations: 7.938 kB / 0.562 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.315, allocations: 128.8 kB / 0.5621 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.3151, allocations: 18.61 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.3151, allocations: 4.859 kB / 0.5621 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.3151, allocations: 3.938 kB / 0.5621 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.3151, allocations: 56.27 kB / 0.5622 GB, free: 3.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3151, allocations: 0 / 0.5622 GB, free: 3.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.3153, allocations: 75.39 kB / 0.5622 GB, free: 3.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3153, allocations: 77.11 kB / 0.5623 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.3154, allocations: 93.81 kB / 0.5624 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3154, allocations: 33.64 kB / 0.5624 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.3154, allocations: 80.14 kB / 0.5625 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.3154, allocations: 0 / 0.5625 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.3155, allocations: 9.719 kB / 0.5625 GB, free: 2.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3156, allocations: 315 kB / 0.5628 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.3156, allocations: 4 kB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.3156, allocations: 0 / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.576e-05/0.3157, allocations: 68.25 kB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3157, allocations: 0 / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.026e-05/0.3158, allocations: 67.28 kB / 0.563 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3158, allocations: 29.7 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3158, allocations: 3.938 kB / 0.563 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.3158, allocations: 0 / 0.563 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.3158, allocations: 8.078 kB / 0.563 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3158, allocations: 0 / 0.563 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.3158, allocations: 4 kB / 0.563 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3158, allocations: 0 / 0.563 GB, free: 2.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 9.264e-05/0.3159, allocations: 135.5 kB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3159, allocations: 7.938 kB / 0.5631 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-06/0.3159, allocations: 3 kB / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.316, allocations: 0 / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.316, allocations: 0 / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.316, allocations: 4 kB / 0.5631 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.093e-05/0.316, allocations: 120.8 kB / 0.5633 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.316, allocations: 0 / 0.5633 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.316, allocations: 3.938 kB / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.316, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.3161, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.3161, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3161, allocations: 0 / 0.5633 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.3162, allocations: 102.8 kB / 0.5634 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.3162, allocations: 3.938 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3162, allocations: 0 / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-06/0.3162, allocations: 4 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.3162, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3162, allocations: 0 / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.3162, allocations: 76.3 kB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.3166, allocations: 123.9 kB / 0.5636 GB, free: 1.527 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.0009905/0.3176, allocations: 0.7121 MB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.3177, allocations: 63.39 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3177, allocations: 7.938 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.3178, allocations: 51.41 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.3179, allocations: 4 kB / 0.5644 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.3182, allocations: 126.6 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3185, allocations: 0.6691 MB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.211e-06/0.3185, allocations: 8 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.3185, allocations: 7.438 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3185, allocations: 0 / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3428, allocations: 4.879 MB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.13, allocations: 7.438 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.026806847017724] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.298614753992297 11.315905303 10.998563747 Calling exit ...