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.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.001863/0.001863, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.002206/0.002206, allocations: 200.6 kB / 20.79 MB, free: 2.32 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.531/1.531, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.3401/0.3401, allocations: 44.23 MB / 327.3 MB, free: 6.703 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.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.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 68.47 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2977, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001485/0.2992, allocations: 0.5091 MB / 0.5121 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.3067, allocations: 5.084 MB / 0.5171 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.3068, allocations: 0 / 0.5171 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.3068, allocations: 1.375 kB / 0.5171 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.3068, allocations: 0 / 0.5171 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007632/0.3144, allocations: 3.004 MB / 0.52 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.3145, allocations: 3.984 kB / 0.52 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3145, allocations: 7.984 kB / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.3146, allocations: 0 / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.3146, allocations: 0 / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-06/0.3146, allocations: 0 / 0.52 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0295/0.3441, allocations: 19.56 MB / 0.5391 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.3441, allocations: 3.938 kB / 0.5391 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3441, allocations: 0 / 0.5391 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04181/0.3859, allocations: 27.64 MB / 0.5661 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3859, allocations: 0 / 0.5661 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3859, allocations: 0 / 0.5661 GB, free: 7.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.386, allocations: 0 / 0.5661 GB, free: 7.102 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.007949/0.3939, allocations: 0.6929 MB / 0.5668 GB, free: 6.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.394, allocations: 11.89 kB / 0.5668 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.394, allocations: 192 / 0.5668 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.394, allocations: 30.75 kB / 0.5668 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.394, allocations: 12.67 kB / 0.5669 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3942, allocations: 167.1 kB / 0.567 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3942, allocations: 0 / 0.567 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3942, allocations: 0 / 0.567 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.3943, allocations: 29.7 kB / 0.567 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3943, allocations: 0 / 0.567 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3943, allocations: 4 kB / 0.567 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3943, allocations: 0 / 0.567 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.3943, allocations: 7.875 kB / 0.5671 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.3945, allocations: 153.7 kB / 0.5672 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.3945, allocations: 18.58 kB / 0.5672 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.3945, allocations: 8.797 kB / 0.5672 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3945, allocations: 96 / 0.5672 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.3946, allocations: 60.27 kB / 0.5673 GB, free: 5.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3946, allocations: 0 / 0.5673 GB, free: 5.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000186/0.3948, allocations: 71.33 kB / 0.5674 GB, free: 5.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3948, allocations: 81.23 kB / 0.5674 GB, free: 5.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.3949, allocations: 93.8 kB / 0.5675 GB, free: 5.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3949, allocations: 25.7 kB / 0.5675 GB, free: 5.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.3949, allocations: 80.14 kB / 0.5676 GB, free: 5.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.3949, allocations: 0 / 0.5676 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.395, allocations: 13.72 kB / 0.5676 GB, free: 5.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3951, allocations: 314.8 kB / 0.5679 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.3951, allocations: 0 / 0.5679 GB, free: 4.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.3951, allocations: 11.98 kB / 0.5679 GB, free: 4.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.3952, allocations: 56.27 kB / 0.568 GB, free: 4.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3952, allocations: 4 kB / 0.568 GB, free: 4.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.948e-05/0.3953, allocations: 59.34 kB / 0.5681 GB, free: 4.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.3953, allocations: 33.7 kB / 0.5681 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3953, allocations: 7.922 kB / 0.5681 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3953, allocations: 0 / 0.5681 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3953, allocations: 0 / 0.5681 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3953, allocations: 0 / 0.5681 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.3954, allocations: 8.031 kB / 0.5681 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3954, allocations: 0 / 0.5681 GB, free: 4.785 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.0001004/0.3955, allocations: 143.5 kB / 0.5682 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3955, allocations: 7.938 kB / 0.5683 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.3955, allocations: 3.125 kB / 0.5683 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3955, allocations: 4 kB / 0.5683 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3955, allocations: 0 / 0.5683 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3955, allocations: 3.938 kB / 0.5683 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3956, allocations: 145.7 kB / 0.5684 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3956, allocations: 4 kB / 0.5684 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.3956, allocations: 0 / 0.5684 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3956, allocations: 0 / 0.5684 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3956, allocations: 4 kB / 0.5684 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3956, allocations: 0 / 0.5684 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3956, allocations: 0 / 0.5684 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3957, allocations: 98.7 kB / 0.5685 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.3958, allocations: 77.11 kB / 0.5686 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3958, allocations: 4.031 kB / 0.5686 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.3958, allocations: 4 kB / 0.5686 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.3958, allocations: 3.938 kB / 0.5686 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3958, allocations: 11.92 kB / 0.5686 GB, free: 4.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.3959, allocations: 75.28 kB / 0.5687 GB, free: 4.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3959, allocations: 0 / 0.5687 GB, free: 4.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01189/0.4077, allocations: 3.826 MB / 0.5724 GB, free: 276 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.02543/0.4332, allocations: 1.537 MB / 0.5739 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4333, allocations: 59.41 kB / 0.574 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4333, allocations: 0 / 0.574 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.4334, allocations: 59.39 kB / 0.574 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.4335, allocations: 3.938 kB / 0.574 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.4402, allocations: 356.7 kB / 0.5744 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.4405, allocations: 0.669 MB / 0.575 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.573e-06/0.4405, allocations: 4.062 kB / 0.575 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.4406, allocations: 15.44 kB / 0.575 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.108e-05/0.4406, allocations: 0 / 0.575 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4669/0.9075, allocations: 114.5 MB / 0.6868 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.08, allocations: 6.469 kB / 0.6868 GB, free: 31.67 MB / 0.4981 GB " [Timeout remaining time 642] (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.958383612975013] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 18.252233246981632 18.270951484 17.881433603 Calling exit ...