Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3342/0.3342, allocations: 44.24 MB / 326.5 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 75.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 60.98 MB / 0.5109 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001583/0.3129, allocations: 0.5192 MB / 0.5114 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00681/0.3197, allocations: 5.087 MB / 0.5164 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3197, allocations: 5.375 kB / 0.5164 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.3197, allocations: 0 / 0.5164 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.3197, allocations: 0 / 0.5164 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006973/0.3267, allocations: 3 MB / 0.5193 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.3268, allocations: 3.984 kB / 0.5193 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.3268, allocations: 4 kB / 0.5193 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.3269, allocations: 0 / 0.5193 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.3269, allocations: 0 / 0.5193 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.3269, allocations: 0 / 0.5193 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02983/0.3567, allocations: 19.57 MB / 0.5384 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3567, allocations: 0 / 0.5384 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3568, allocations: 3.938 kB / 0.5384 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04254/0.3993, allocations: 27.64 MB / 0.5654 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3993, allocations: 0 / 0.5654 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3993, allocations: 0 / 0.5654 GB, free: 7.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.3993, allocations: 0 / 0.5654 GB, free: 7.113 MB / 430.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.01047/0.4098, allocations: 0.689 MB / 0.5661 GB, free: 6.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4098, allocations: 11.89 kB / 0.5661 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.4099, allocations: 30.75 kB / 0.5661 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.4099, allocations: 8.922 kB / 0.5661 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.41, allocations: 171 kB / 0.5663 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4101, allocations: 4 kB / 0.5663 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4101, allocations: 0 / 0.5663 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.4102, allocations: 29.7 kB / 0.5663 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4102, allocations: 0 / 0.5663 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.4102, allocations: 0 / 0.5663 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4102, allocations: 0 / 0.5663 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.4102, allocations: 7.922 kB / 0.5663 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.4104, allocations: 153.6 kB / 0.5665 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.4104, allocations: 18.61 kB / 0.5665 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.4105, allocations: 8.859 kB / 0.5665 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-06/0.4105, allocations: 0 / 0.5665 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.4105, allocations: 60.33 kB / 0.5666 GB, free: 5.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4105, allocations: 0 / 0.5666 GB, free: 5.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002/0.4107, allocations: 67.33 kB / 0.5666 GB, free: 5.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4108, allocations: 81.23 kB / 0.5667 GB, free: 5.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.4108, allocations: 89.86 kB / 0.5668 GB, free: 5.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4109, allocations: 29.7 kB / 0.5668 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.4109, allocations: 80.14 kB / 0.5669 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.4109, allocations: 0 / 0.5669 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4109, allocations: 13.72 kB / 0.5669 GB, free: 5.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.4112, allocations: 314.8 kB / 0.5672 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.4112, allocations: 0 / 0.5672 GB, free: 5.016 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.4112, allocations: 15.92 kB / 0.5672 GB, free: 5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.4112, allocations: 56.27 kB / 0.5673 GB, free: 4.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4112, allocations: 3.938 kB / 0.5673 GB, free: 4.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.683e-05/0.4113, allocations: 67.34 kB / 0.5673 GB, free: 4.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.4114, allocations: 33.7 kB / 0.5674 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4114, allocations: 3.984 kB / 0.5674 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4114, allocations: 0 / 0.5674 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.4114, allocations: 0 / 0.5674 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4114, allocations: 96 / 0.5674 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.4114, allocations: 7.938 kB / 0.5674 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4114, allocations: 0 / 0.5674 GB, free: 4.797 MB / 430.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.0001054/0.4115, allocations: 139.5 kB / 0.5675 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.4115, allocations: 3.953 kB / 0.5675 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.4115, allocations: 3.125 kB / 0.5675 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4115, allocations: 0 / 0.5675 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4115, allocations: 0 / 0.5675 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4116, allocations: 7.938 kB / 0.5675 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.4117, allocations: 149.7 kB / 0.5677 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4117, allocations: 4 kB / 0.5677 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4117, allocations: 0 / 0.5677 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4117, allocations: 0 / 0.5677 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.4117, allocations: 3.984 kB / 0.5677 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4117, allocations: 4 kB / 0.5677 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4117, allocations: 0 / 0.5677 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.4118, allocations: 94.7 kB / 0.5678 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.4118, allocations: 85.14 kB / 0.5678 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4119, allocations: 4 kB / 0.5679 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.4119, allocations: 0 / 0.5679 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.4119, allocations: 0 / 0.5679 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4119, allocations: 7.922 kB / 0.5679 GB, free: 4.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.4119, allocations: 75.28 kB / 0.5679 GB, free: 4.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 4 kB / 0.5679 GB, free: 4.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0121/0.424, allocations: 3.822 MB / 0.5717 GB, free: 296 kB / 430.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.02334/0.4474, allocations: 1.536 MB / 0.5732 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.4476, allocations: 55.41 kB / 0.5732 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4476, allocations: 0 / 0.5732 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/0.4476, allocations: 59.39 kB / 0.5733 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.4478, allocations: 3.938 kB / 0.5733 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4596, allocations: 360.7 kB / 0.5736 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4599, allocations: 0.6729 MB / 0.5743 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.173e-05/0.46, allocations: 8.109 kB / 0.5743 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.46, allocations: 11.44 kB / 0.5743 GB, free: 13.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.475e-06/0.46, allocations: 3.938 kB / 0.5743 GB, free: 13.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.458/0.918, allocations: 114.4 MB / 0.686 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.21, allocations: 6.938 kB / 0.686 GB, free: 31.68 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.034571616910398] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 17.344690328929573 17.357908765 16.955622783 Calling exit ...