Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.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.001526/0.001526, allocations: 122.1 kB / 18.46 MB, free: 4.59 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.002034/0.002034, allocations: 215.3 kB / 21.41 MB, free: 1.641 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.467/1.467, allocations: 227.4 MB / 251.7 MB, free: 268 kB / 190.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.2341/0.2341, allocations: 46.15 MB / 351.1 MB, free: 14.34 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",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.002306/0.002306, allocations: 77.61 kB / 489.6 MB, free: 28.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 62.47 MB / 0.5392 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001551/0.1211, allocations: 477.1 kB / 0.5396 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1235, allocations: 1.558 MB / 0.5411 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1236, allocations: 0 / 0.5411 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1236, allocations: 3.938 kB / 0.5411 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.1236, allocations: 4 kB / 0.5412 GB, free: 2.75 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009499/0.1246, allocations: 227.4 kB / 0.5414 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.1246, allocations: 0 / 0.5414 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.1247, allocations: 4 kB / 0.5414 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.1247, allocations: 11.92 kB / 0.5414 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.505e-05/0.1247, allocations: 7.938 kB / 0.5414 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1247, allocations: 0 / 0.5414 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1258, allocations: 0.7025 MB / 0.5421 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1258, allocations: 3.984 kB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.1259, allocations: 0 / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.1266, allocations: 0.6437 MB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1266, allocations: 4 kB / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1266, allocations: 0 / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1266, allocations: 0 / 0.5427 GB, free: 1.148 MB / 398.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.000453/0.1271, allocations: 369 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1271, allocations: 15.97 kB / 0.5431 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.1271, allocations: 30.75 kB / 0.5431 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.1272, allocations: 0.9375 kB / 0.5431 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1273, allocations: 164.4 kB / 0.5433 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1273, allocations: 384 / 0.5433 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1273, allocations: 4.375 kB / 0.5433 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.1274, allocations: 33.81 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1274, allocations: 0 / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1274, allocations: 4 kB / 0.5433 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1274, allocations: 0 / 0.5433 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.1275, allocations: 4 kB / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1276, allocations: 145.7 kB / 0.5435 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.1277, allocations: 26.55 kB / 0.5435 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.1277, allocations: 4.859 kB / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/0.1277, allocations: 0 / 0.5435 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.1278, allocations: 64.2 kB / 0.5435 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1278, allocations: 0 / 0.5435 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.1279, allocations: 67.39 kB / 0.5436 GB, free: 40 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.128, allocations: 81.11 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.1281, allocations: 97.81 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1281, allocations: 25.7 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1281, allocations: 80.14 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1282, allocations: 0 / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.1282, allocations: 13.84 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1284, allocations: 314.8 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.1284, allocations: 0 / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.1284, allocations: 0 / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.1284, allocations: 68.25 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1285, allocations: 0 / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.335e-05/0.1285, allocations: 67.28 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.1286, allocations: 33.73 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1286, allocations: 7.938 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1286, allocations: 0 / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1286, allocations: 0 / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1286, allocations: 3.984 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.1287, allocations: 4 kB / 0.5444 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1287, allocations: 0 / 0.5444 GB, free: 15.17 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.866e-05/0.1288, allocations: 131.5 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.1288, allocations: 11.94 kB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.1288, allocations: 7.125 kB / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1288, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1288, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1288, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.129, allocations: 145.7 kB / 0.5446 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.129, allocations: 4 kB / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.129, allocations: 0 / 0.5447 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.129, allocations: 3.938 kB / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.129, allocations: 4 kB / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.129, allocations: 0 / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.129, allocations: 0 / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1291, allocations: 98.77 kB / 0.5448 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.1292, allocations: 81.05 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1292, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.1292, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1292, allocations: 4 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1292, allocations: 0 / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.1293, allocations: 75.28 kB / 0.5449 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1293, allocations: 4.031 kB / 0.5449 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.1297, allocations: 127.8 kB / 0.545 GB, free: 14.38 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.001011/0.1308, allocations: 0.709 MB / 0.5457 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1309, allocations: 75.33 kB / 0.5458 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1309, allocations: 0 / 0.5458 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.1309, allocations: 51.41 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.131, allocations: 4 kB / 0.5459 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1314, allocations: 130.7 kB / 0.546 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1317, allocations: 0.669 MB / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.1317, allocations: 0 / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.1317, allocations: 7.438 kB / 0.5466 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1317, allocations: 0 / 0.5466 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.1624, allocations: 4.716 MB / 0.5512 GB, free: 7.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.141, allocations: 18.09 kB / 0.5513 GB, free: 7.957 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_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_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.159538685926236] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.207944510970265 8.223370766 8.094057119 Calling exit ...