Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.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.001575/0.001575, allocations: 122 kB / 18.51 MB, free: 4.488 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.001923/0.001923, allocations: 215.3 kB / 21.46 MB, free: 1.535 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.471/1.471, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.92 MB / 357.7 MB, free: 10.21 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-beta.om/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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 87.84 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 66.03 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001866/0.1346, allocations: 498.4 kB / 0.5566 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.137, allocations: 1.622 MB / 0.5582 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.137, allocations: 0 / 0.5582 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.137, allocations: 0 / 0.5582 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.984e-06/0.137, allocations: 0 / 0.5582 GB, free: 3.461 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.1379, allocations: 271.3 kB / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.138, allocations: 0 / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.138, allocations: 8 kB / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.138, allocations: 0 / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.998e-05/0.138, allocations: 0 / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.138, allocations: 0 / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.1389, allocations: 0.5379 MB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.1389, allocations: 0 / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1389, allocations: 7.938 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1393, allocations: 311.3 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1393, allocations: 4 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1393, allocations: 0 / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1393, allocations: 0 / 0.5593 GB, free: 2.332 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.0003971/0.1397, allocations: 372.8 kB / 0.5597 GB, free: 1.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1398, allocations: 12.03 kB / 0.5597 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.1398, allocations: 34.73 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1398, allocations: 0.9375 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1399, allocations: 172.3 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1399, allocations: 384 / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.1399, allocations: 4.375 kB / 0.5599 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.874e-05/0.14, allocations: 33.83 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.14, allocations: 0 / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.14, allocations: 0 / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.14, allocations: 4 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.1401, allocations: 3.984 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.1402, allocations: 149.7 kB / 0.5601 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.1402, allocations: 26.48 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.1403, allocations: 8.859 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.1403, allocations: 0 / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.1403, allocations: 60.2 kB / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1403, allocations: 0 / 0.5601 GB, free: 1.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001724/0.1405, allocations: 67.45 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1405, allocations: 77.11 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.1406, allocations: 101.8 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1406, allocations: 25.7 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1407, allocations: 84.27 kB / 0.5605 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1407, allocations: 0 / 0.5605 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1407, allocations: 9.719 kB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1408, allocations: 314.8 kB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.1408, allocations: 3.984 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1408, allocations: 4 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.1409, allocations: 64.27 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1409, allocations: 4.062 kB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.653e-05/0.141, allocations: 59.41 kB / 0.5609 GB, free: 404 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.141, allocations: 37.62 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.141, allocations: 0 / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.141, allocations: 0 / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-06/0.141, allocations: 7.938 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1411, allocations: 0 / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.1411, allocations: 0 / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1411, allocations: 0 / 0.561 GB, free: 352 kB / 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.0001013/0.1412, allocations: 143.6 kB / 0.5611 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1412, allocations: 3.938 kB / 0.5611 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-06/0.1412, allocations: 3.125 kB / 0.5611 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.1412, allocations: 0 / 0.5611 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1412, allocations: 0 / 0.5611 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1412, allocations: 0 / 0.5611 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1413, allocations: 153.7 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1413, allocations: 0 / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.1413, allocations: 3.938 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1413, allocations: 3.938 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1413, allocations: 4 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1413, allocations: 3.938 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1413, allocations: 0 / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.1414, allocations: 90.83 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.1415, allocations: 84.98 kB / 0.5614 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1415, allocations: 4 kB / 0.5614 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1415, allocations: 0 / 0.5614 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.1415, allocations: 3.984 kB / 0.5614 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1415, allocations: 4.031 kB / 0.5615 GB, free: 15.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.1416, allocations: 75.28 kB / 0.5615 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1416, allocations: 0 / 0.5615 GB, free: 15.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.1419, allocations: 63.81 kB / 0.5616 GB, free: 15.61 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.0007636/0.1426, allocations: 0.7194 MB / 0.5623 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1427, allocations: 71.33 kB / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1427, allocations: 0 / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.1428, allocations: 55.41 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.1429, allocations: 0 / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.1432, allocations: 130.5 kB / 0.5625 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1435, allocations: 0.6768 MB / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.001e-06/0.1435, allocations: 0 / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.1435, allocations: 7.438 kB / 0.5632 GB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1435, allocations: 128 / 0.5632 GB, free: 13.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.1651, allocations: 2.108 MB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.902, allocations: 4.562 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.914751520380378] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 7.988938212860376 8.010784656 7.86727939 Calling exit ...