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.001733/0.001733, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002106/0.002106, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.394/1.394, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2151/0.2151, allocations: 46.91 MB / 357.7 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 83.86 kB / 0.4916 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 66.04 MB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00157/0.1405, allocations: 494.2 kB / 0.5566 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1437, allocations: 2.159 MB / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.1437, allocations: 0 / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.1437, allocations: 0 / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.1437, allocations: 0 / 0.5587 GB, free: 2.887 MB / 414.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.002025/0.1458, allocations: 0.7247 MB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.1458, allocations: 4 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.1459, allocations: 7.984 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.1459, allocations: 0 / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.1459, allocations: 0 / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1459, allocations: 0 / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.148, allocations: 1.584 MB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.148, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.148, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1497, allocations: 1.559 MB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1497, allocations: 0 / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1497, allocations: 0 / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1497, allocations: 4 kB / 0.5625 GB, free: 15 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.0006618/0.1503, allocations: 420.5 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1504, allocations: 8.031 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.876e-05/0.1504, allocations: 4.188 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.1504, allocations: 34.73 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.1504, allocations: 0.9375 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1506, allocations: 160.4 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1506, allocations: 384 / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.1506, allocations: 4.312 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.1507, allocations: 37.64 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1507, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1507, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1507, allocations: 0 / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.1507, allocations: 7.938 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1509, allocations: 149.7 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.1509, allocations: 18.58 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1509, allocations: 12.95 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.151, allocations: 3.938 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.151, allocations: 60.27 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.151, allocations: 0 / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.1512, allocations: 75.28 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.1513, allocations: 77.11 kB / 0.5635 GB, free: 13.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.1513, allocations: 89.86 kB / 0.5636 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1513, allocations: 29.64 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.1514, allocations: 84.27 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1514, allocations: 4 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1514, allocations: 9.719 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1515, allocations: 310.8 kB / 0.564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1516, allocations: 7.984 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.1516, allocations: 4 kB / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.1516, allocations: 60.27 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1516, allocations: 8 kB / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.674e-05/0.1517, allocations: 59.34 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.1517, allocations: 35.42 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1517, allocations: 3.984 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1517, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1517, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1518, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.1518, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1518, allocations: 0 / 0.5642 GB, free: 12.98 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 9.208e-05/0.1519, allocations: 143.6 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.1519, allocations: 3.938 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.714e-06/0.1519, allocations: 3.125 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1519, allocations: 7.984 kB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1519, allocations: 3.938 kB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1519, allocations: 0 / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.152, allocations: 145.7 kB / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.152, allocations: 0 / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.152, allocations: 3.938 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.152, allocations: 0 / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.152, allocations: 4 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.152, allocations: 4 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.152, allocations: 3.938 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1521, allocations: 86.83 kB / 0.5646 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1522, allocations: 85.05 kB / 0.5647 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1522, allocations: 0 / 0.5647 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-06/0.1522, allocations: 0 / 0.5647 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.1522, allocations: 0 / 0.5647 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1522, allocations: 8.016 kB / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.207e-05/0.1522, allocations: 79.28 kB / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1522, allocations: 0 / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007934/0.153, allocations: 279.5 kB / 0.565 GB, free: 12.03 MB / 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.001685/0.1547, allocations: 0.9322 MB / 0.5659 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.1548, allocations: 59.41 kB / 0.566 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1548, allocations: 7.938 kB / 0.566 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.1549, allocations: 59.39 kB / 0.5661 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.155, allocations: 5.875 kB / 0.5661 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.1555, allocations: 162.3 kB / 0.5662 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1558, allocations: 0.6729 MB / 0.5669 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.1558, allocations: 3.938 kB / 0.5669 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1558, allocations: 11.56 kB / 0.5669 GB, free: 10.01 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1558, allocations: 0 / 0.5669 GB, free: 10.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1835, allocations: 8.255 MB / 0.575 GB, free: 1.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.235, allocations: 14.75 kB / 0.575 GB, free: 1.805 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.045605221006554] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.361245442996733 8.383101978000001 8.230546511 Calling exit ...