Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001274/0.001274, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001479/0.001479, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.738 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.2257/0.2257, allocations: 46.96 MB / 360.9 MB, free: 3.984 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002367/0.33, allocations: 0.4884 MB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.3336, allocations: 2.056 MB / 0.5631 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3336, allocations: 4 kB / 0.5631 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.3336, allocations: 0 / 0.5631 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.3336, allocations: 0 / 0.5631 GB, free: 1.621 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.3359, allocations: 0.7664 MB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.336, allocations: 3.938 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.336, allocations: 0 / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.336, allocations: 7.984 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.584e-05/0.336, allocations: 0 / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.336, allocations: 3.938 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.3383, allocations: 1.549 MB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3383, allocations: 3.938 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.3383, allocations: 0 / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.3399, allocations: 1.55 MB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3399, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3399, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3399, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.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.0005404/0.3405, allocations: 347.4 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3405, allocations: 11.97 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.3405, allocations: 30.75 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.3406, allocations: 0.9375 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.3406, allocations: 114.5 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3406, allocations: 384 / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.3407, allocations: 3.938 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.3408, allocations: 59.39 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3408, allocations: 0 / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3408, allocations: 0 / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3408, allocations: 0 / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.029e-05/0.3408, allocations: 29.7 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.3409, allocations: 120.8 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.341, allocations: 56.23 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.341, allocations: 34.55 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.341, allocations: 3.938 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3411, allocations: 56.27 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3411, allocations: 0 / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.3413, allocations: 126.7 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3413, allocations: 81.11 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.3414, allocations: 89.98 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3414, allocations: 29.7 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3414, allocations: 80.14 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3415, allocations: 0 / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.3415, allocations: 13.72 kB / 0.5681 GB, free: 12.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3416, allocations: 314.8 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.3416, allocations: 25.7 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.3417, allocations: 29.7 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.3417, allocations: 64.25 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3417, allocations: 0 / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.867e-05/0.3418, allocations: 101 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.3418, allocations: 33.7 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3418, allocations: 3.984 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3419, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3419, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3419, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.3419, allocations: 4 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.3419, allocations: 0 / 0.5686 GB, free: 11.62 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.804e-05/0.342, allocations: 131.5 kB / 0.5688 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.342, allocations: 7.938 kB / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-06/0.342, allocations: 7.031 kB / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.342, allocations: 0 / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.342, allocations: 0 / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.342, allocations: 0 / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.3421, allocations: 128.7 kB / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3421, allocations: 0 / 0.5689 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3422, allocations: 132.3 kB / 0.569 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.3422, allocations: 8 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.3423, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.3423, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3423, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3423, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.3423, allocations: 83.27 kB / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3423, allocations: 0 / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007349/0.3431, allocations: 275.5 kB / 0.5694 GB, free: 10.77 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.001586/0.3446, allocations: 0.9703 MB / 0.5703 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3448, allocations: 110.8 kB / 0.5704 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3448, allocations: 0 / 0.5704 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.3448, allocations: 85.09 kB / 0.5705 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.3449, allocations: 8 kB / 0.5705 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.3454, allocations: 187.9 kB / 0.5707 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.3455, allocations: 55.36 kB / 0.5708 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.3455, allocations: 0 / 0.5708 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.3455, allocations: 7.438 kB / 0.5708 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3455, allocations: 4.125 kB / 0.5708 GB, free: 9.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.3841, allocations: 8.758 MB / 0.5793 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 8.047 kB / 0.5793 GB, free: 0.5625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.585375702008605] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.966682370752096 11.994783677 11.649635032 Calling exit ...