Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001258/0.001258, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002153/0.002153, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2193/0.2193, allocations: 46.96 MB / 361.7 MB, free: 4.059 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.4969 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 66.03 MB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001755/0.3098, allocations: 0.4892 MB / 0.5618 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3121, allocations: 1.552 MB / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.3121, allocations: 0 / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.3121, allocations: 0 / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.3121, allocations: 0 / 0.5633 GB, free: 2.211 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3131, allocations: 290.9 kB / 0.5636 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.3132, allocations: 4 kB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.3132, allocations: 12 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.3133, allocations: 3.938 kB / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.202e-05/0.3133, allocations: 0 / 0.5636 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.3133, allocations: 3.938 kB / 0.5636 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.314, allocations: 435 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-06/0.314, allocations: 0 / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.314, allocations: 4 kB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.3145, allocations: 301.1 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3145, allocations: 4 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3145, allocations: 0 / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3145, allocations: 0 / 0.5643 GB, free: 1.18 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.0003811/0.3149, allocations: 299.7 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3149, allocations: 8.031 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.04e-05/0.315, allocations: 192 / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.315, allocations: 30.75 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.315, allocations: 12.88 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.3151, allocations: 106.5 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3151, allocations: 384 / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.3151, allocations: 384 / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.3152, allocations: 63.34 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3152, allocations: 0 / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3152, allocations: 0 / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3152, allocations: 0 / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.3153, allocations: 33.69 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.3154, allocations: 116.8 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.483e-05/0.3155, allocations: 52.23 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.3155, allocations: 30.56 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3155, allocations: 3.938 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.3156, allocations: 64.31 kB / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3156, allocations: 4 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002222/0.3158, allocations: 114.8 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.3159, allocations: 77.11 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/0.316, allocations: 97.8 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.316, allocations: 25.7 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.316, allocations: 84.14 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.316, allocations: 3.938 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.3161, allocations: 9.719 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3162, allocations: 318.8 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.3162, allocations: 25.7 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.3163, allocations: 29.83 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.3163, allocations: 60.27 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3163, allocations: 0 / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.125e-05/0.3164, allocations: 97.03 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3164, allocations: 33.7 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3165, allocations: 0 / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3165, allocations: 3.938 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.3165, allocations: 4 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3165, allocations: 3.938 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.3165, allocations: 4.094 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3165, allocations: 0 / 0.5661 GB, free: 15.1 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 0.0001026/0.3166, allocations: 139.5 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.3166, allocations: 7.875 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.165e-05/0.3166, allocations: 3 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3166, allocations: 0 / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3166, allocations: 4 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3166, allocations: 0 / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3167, allocations: 124.7 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3167, allocations: 0 / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.3167, allocations: 7.938 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3167, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3167, allocations: 4 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.3167, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3167, allocations: 0 / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3169, allocations: 116.5 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.3169, allocations: 3.938 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.3169, allocations: 0 / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.3169, allocations: 4 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.3169, allocations: 3.938 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3169, allocations: 0 / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.317, allocations: 79.31 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.317, allocations: 0 / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3172, allocations: 63.8 kB / 0.5666 GB, free: 14.46 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.0008012/0.318, allocations: 0.7451 MB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3182, allocations: 118.8 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3182, allocations: 7.938 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.3182, allocations: 77.11 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.3184, allocations: 4 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.3187, allocations: 152.3 kB / 0.5677 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.3188, allocations: 63.34 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.769e-06/0.3188, allocations: 0 / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.3188, allocations: 7.438 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3188, allocations: 0 / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3408, allocations: 2.314 MB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.35, allocations: 8.062 kB / 0.57 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.077945230063051] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.500224236981012 11.515612121 11.198003173 Calling exit ...