Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00222/0.00222, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.96 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3149, allocations: 66.08 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001651/0.3165, allocations: 0.4893 MB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3187, allocations: 1.517 MB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.3188, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.3188, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-06/0.3188, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0009471/0.3197, allocations: 250.8 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.3198, allocations: 7.984 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.3198, allocations: 3.938 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3198, allocations: 0 / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.3198, allocations: 3.984 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.3199, allocations: 4 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3209, allocations: 0.6869 MB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.3209, allocations: 0 / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.3209, allocations: 0 / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.3216, allocations: 0.6179 MB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3216, allocations: 0 / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3216, allocations: 0 / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3216, allocations: 0 / 0.5642 GB, free: 460 kB / 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.0003965/0.322, allocations: 287.9 kB / 0.5644 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.322, allocations: 11.97 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3221, allocations: 34.73 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.3221, allocations: 4.938 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.278e-05/0.3222, allocations: 110.5 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3222, allocations: 4.375 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3222, allocations: 4.312 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/0.3223, allocations: 63.52 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3223, allocations: 0 / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3223, allocations: 0 / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3223, allocations: 0 / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.3224, allocations: 29.7 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.3225, allocations: 116.8 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.3226, allocations: 52.31 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.3226, allocations: 34.5 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.3226, allocations: 0 / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.3226, allocations: 64.27 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3226, allocations: 0 / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.3228, allocations: 118.8 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3229, allocations: 77.11 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.3229, allocations: 93.81 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3229, allocations: 25.7 kB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.323, allocations: 80.27 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.323, allocations: 4 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.323, allocations: 17.7 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3231, allocations: 310.8 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.3232, allocations: 37.64 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.3232, allocations: 25.7 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.3232, allocations: 60.27 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3232, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.263e-05/0.3233, allocations: 93.09 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.3234, allocations: 33.64 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.3234, allocations: 4.094 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3234, allocations: 0 / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.3234, allocations: 4 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3234, allocations: 4 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.3234, allocations: 0 / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3234, allocations: 3.938 kB / 0.5659 GB, free: 14.38 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.098e-05/0.3235, allocations: 143.5 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-06/0.3235, allocations: 3.938 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-06/0.3235, allocations: 3 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3235, allocations: 0 / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3235, allocations: 4 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.3235, allocations: 0 / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.3236, allocations: 116.8 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3236, allocations: 0 / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3236, allocations: 3.938 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3236, allocations: 7.922 kB / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.3236, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.3236, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3236, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3237, allocations: 120.5 kB / 0.5663 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.3237, allocations: 11.97 kB / 0.5663 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.3238, allocations: 0 / 0.5663 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.3238, allocations: 3.984 kB / 0.5663 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.3238, allocations: 0 / 0.5663 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.3238, allocations: 4 kB / 0.5663 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.3238, allocations: 80.23 kB / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.3242, allocations: 119.9 kB / 0.5665 GB, free: 13.68 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.0009815/0.3252, allocations: 0.7348 MB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3253, allocations: 114.8 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3253, allocations: 0 / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.3254, allocations: 89.03 kB / 0.5674 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.3255, allocations: 4.125 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3258, allocations: 156.2 kB / 0.5676 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.3259, allocations: 59.3 kB / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.728e-06/0.3259, allocations: 0 / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.3259, allocations: 7.438 kB / 0.5676 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3259, allocations: 0 / 0.5676 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.3577, allocations: 5.253 MB / 0.5727 GB, free: 7.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.75, allocations: 0 / 0.5727 GB, free: 7.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.711411390919238] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.862939074635506 11.880055044 11.555281786 Calling exit ...