Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001301/0.001301, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001441/0.001441, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2229/0.2229, allocations: 46.95 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.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 87.86 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2882, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001602/0.2898, allocations: 497.1 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.2929, allocations: 2.067 MB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.2929, allocations: 4 kB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.2929, allocations: 0 / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.2929, allocations: 4 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.002054/0.295, allocations: 0.7599 MB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.295, allocations: 7.984 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.295, allocations: 0 / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.2951, allocations: 0 / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.814e-05/0.2951, allocations: 0 / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-06/0.2951, allocations: 0 / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.2974, allocations: 1.548 MB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.2974, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2974, allocations: 7.938 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.2991, allocations: 1.553 MB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2991, allocations: 0 / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2991, allocations: 0 / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2991, allocations: 0 / 0.567 GB, free: 13.59 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.0005418/0.2996, allocations: 343.3 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2997, allocations: 12.03 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.2997, allocations: 38.69 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.2997, allocations: 0.9375 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.2998, allocations: 106.5 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2998, allocations: 4.375 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2998, allocations: 4.375 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.2999, allocations: 55.53 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.2999, allocations: 0 / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2999, allocations: 4 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2999, allocations: 0 / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.3, allocations: 25.7 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.3001, allocations: 120.8 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.3002, allocations: 52.22 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.3002, allocations: 34.66 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.3002, allocations: 0 / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.3003, allocations: 60.2 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3003, allocations: 0 / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002038/0.3005, allocations: 122.8 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3006, allocations: 81.05 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.3006, allocations: 89.86 kB / 0.5681 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3007, allocations: 29.7 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3007, allocations: 84.27 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3007, allocations: 0 / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3007, allocations: 9.719 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3009, allocations: 318.8 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.3009, allocations: 29.7 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.3009, allocations: 25.7 kB / 0.5685 GB, free: 11.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.301, allocations: 60.27 kB / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.301, allocations: 0 / 0.5686 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.881e-05/0.3011, allocations: 93.09 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.3011, allocations: 37.73 kB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3011, allocations: 7.938 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3011, allocations: 3.938 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3011, allocations: 0 / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3012, allocations: 0 / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.3012, allocations: 0 / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3012, allocations: 0 / 0.5687 GB, free: 11.48 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.0001084/0.3013, allocations: 143.5 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.3013, allocations: 3.938 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.3013, allocations: 6.984 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3013, allocations: 4 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3013, allocations: 8 kB / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3013, allocations: 0 / 0.5689 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.3014, allocations: 112.8 kB / 0.569 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3014, allocations: 0 / 0.569 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3014, allocations: 0 / 0.569 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3014, allocations: 7.938 kB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3014, allocations: 3.984 kB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3014, allocations: 0 / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3014, allocations: 0 / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3016, allocations: 120.5 kB / 0.5691 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.3016, allocations: 11.95 kB / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3016, allocations: 0 / 0.5691 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.3016, allocations: 4 kB / 0.5691 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.3016, allocations: 0 / 0.5691 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.3016, allocations: 0 / 0.5691 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.3016, allocations: 75.28 kB / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3016, allocations: 0 / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009198/0.3026, allocations: 279.5 kB / 0.5695 GB, free: 10.62 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.001624/0.3042, allocations: 0.9595 MB / 0.5704 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3043, allocations: 122.7 kB / 0.5705 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3043, allocations: 0 / 0.5705 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.3044, allocations: 77.11 kB / 0.5706 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.3045, allocations: 6.5 kB / 0.5706 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.305, allocations: 188 kB / 0.5708 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.315e-05/0.3051, allocations: 55.34 kB / 0.5708 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.3051, allocations: 0 / 0.5708 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.3051, allocations: 11.44 kB / 0.5709 GB, free: 9.074 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3051, allocations: 0 / 0.5709 GB, free: 9.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/0.3533, allocations: 8.754 MB / 0.5794 GB, free: 416 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 7.938 kB / 0.5794 GB, free: 408 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.677876898553222] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.833631994202733 11.861854845 11.557760195 Calling exit ...