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.001299/0.001299, allocations: 116.4 kB / 18.45 MB, free: 4.613 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.001372/0.001372, allocations: 208.9 kB / 21.41 MB, free: 1.66 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.47/1.47, allocations: 227.4 MB / 251.7 MB, free: 276 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.2582/0.2582, allocations: 46.16 MB / 351.1 MB, free: 14.35 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.002317/0.002317, allocations: 81.75 kB / 489.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1292, allocations: 62.44 MB / 0.5392 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001672/0.1309, allocations: 493.1 kB / 0.5396 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1331, allocations: 1.614 MB / 0.5412 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.1332, allocations: 0 / 0.5412 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.1332, allocations: 0 / 0.5412 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1332, allocations: 3.938 kB / 0.5412 GB, free: 2.688 MB / 398.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.0008742/0.1341, allocations: 274.5 kB / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.1341, allocations: 0 / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1342, allocations: 4 kB / 0.5415 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.1342, allocations: 8 kB / 0.5415 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.1342, allocations: 3.984 kB / 0.5415 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-06/0.1343, allocations: 0 / 0.5415 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007212/0.135, allocations: 495 kB / 0.542 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.135, allocations: 0 / 0.542 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.135, allocations: 0 / 0.542 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1355, allocations: 315.4 kB / 0.5423 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1355, allocations: 4 kB / 0.5423 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1355, allocations: 7.938 kB / 0.5423 GB, free: 1.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1355, allocations: 0 / 0.5423 GB, free: 1.602 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.0003991/0.1359, allocations: 376.9 kB / 0.5426 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.136, allocations: 12.03 kB / 0.5426 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.136, allocations: 30.75 kB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.136, allocations: 0.9375 kB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1362, allocations: 160.4 kB / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1362, allocations: 384 / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1362, allocations: 8.359 kB / 0.5428 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.1363, allocations: 33.83 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1363, allocations: 0 / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1363, allocations: 0 / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1363, allocations: 0 / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.1363, allocations: 11.92 kB / 0.5429 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1365, allocations: 145.7 kB / 0.543 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.1365, allocations: 18.61 kB / 0.543 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1366, allocations: 4.859 kB / 0.543 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1366, allocations: 4 kB / 0.543 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.1366, allocations: 60.2 kB / 0.5431 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1366, allocations: 0 / 0.5431 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001814/0.1368, allocations: 75.38 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1369, allocations: 77.11 kB / 0.5432 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.1369, allocations: 97.81 kB / 0.5433 GB, free: 292 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.137, allocations: 29.64 kB / 0.5434 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.137, allocations: 84.27 kB / 0.5434 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.137, allocations: 0 / 0.5434 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1371, allocations: 9.719 kB / 0.5435 GB, free: 152 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1372, allocations: 322.8 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.1372, allocations: 3.938 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1372, allocations: 0 / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.1373, allocations: 60.27 kB / 0.5438 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1373, allocations: 0 / 0.5438 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.181e-05/0.1374, allocations: 67.41 kB / 0.5439 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.1374, allocations: 39.5 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1374, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1375, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.1375, allocations: 4 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1375, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.1375, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1375, allocations: 0 / 0.5439 GB, free: 15.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.551e-05/0.1376, allocations: 139.5 kB / 0.5441 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1376, allocations: 7.969 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-06/0.1376, allocations: 3.125 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1376, allocations: 3.984 kB / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1377, allocations: 0 / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1377, allocations: 0 / 0.5441 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1378, allocations: 145.7 kB / 0.5442 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1378, allocations: 0 / 0.5442 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-06/0.1378, allocations: 4 kB / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1378, allocations: 3.938 kB / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1378, allocations: 0 / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1378, allocations: 4 kB / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1378, allocations: 0 / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.138, allocations: 94.77 kB / 0.5443 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.138, allocations: 84.98 kB / 0.5444 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.138, allocations: 7.984 kB / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-06/0.1381, allocations: 0 / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1381, allocations: 0 / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1381, allocations: 0 / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1381, allocations: 87.25 kB / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1381, allocations: 0 / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1384, allocations: 63.8 kB / 0.5445 GB, free: 14.88 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.0007565/0.1392, allocations: 0.7124 MB / 0.5452 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1393, allocations: 63.34 kB / 0.5453 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1393, allocations: 4.062 kB / 0.5453 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.1394, allocations: 55.41 kB / 0.5454 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.1395, allocations: 0 / 0.5454 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.1398, allocations: 134.5 kB / 0.5455 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1401, allocations: 0.6729 MB / 0.5461 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.1402, allocations: 4 kB / 0.5461 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.1402, allocations: 7.438 kB / 0.5462 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1402, allocations: 0 / 0.5462 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.1654, allocations: 2.099 MB / 0.5482 GB, free: 11.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.061, allocations: 7.922 kB / 0.5482 GB, free: 11.07 MB / 414.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: 11.120588643010706] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.127600493025966 8.143248724 8.004938568 Calling exit ...