Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00171/0.00171, allocations: 121.4 kB / 18.45 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.002026/0.002026, allocations: 206.5 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.511/1.511, allocations: 227.4 MB / 251.7 MB, free: 252 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.2364/0.2364, 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",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.002252/0.002252, allocations: 85.67 kB / 489.7 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 62.44 MB / 0.5392 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001593/0.127, allocations: 495.1 kB / 0.5396 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.1304, allocations: 2.134 MB / 0.5417 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1304, allocations: 0 / 0.5417 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1305, allocations: 0 / 0.5417 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1305, allocations: 3.938 kB / 0.5417 GB, free: 2.156 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.001937/0.1324, allocations: 0.7239 MB / 0.5424 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.1325, allocations: 7.984 kB / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.1325, allocations: 0 / 0.5424 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.1325, allocations: 7.938 kB / 0.5424 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.1326, allocations: 0 / 0.5424 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.1326, allocations: 0 / 0.5424 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.1347, allocations: 1.506 MB / 0.5439 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1347, allocations: 0 / 0.5439 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1348, allocations: 8 kB / 0.5439 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1364, allocations: 1.548 MB / 0.5454 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1364, allocations: 11.94 kB / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1364, allocations: 0 / 0.5454 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1364, allocations: 0 / 0.5454 GB, free: 14.34 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.0006006/0.137, allocations: 420.5 kB / 0.5458 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1371, allocations: 8.031 kB / 0.5458 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1371, allocations: 38.73 kB / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1372, allocations: 0.9375 kB / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1373, allocations: 164.4 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1373, allocations: 4.375 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.1373, allocations: 384 / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.1374, allocations: 29.83 kB / 0.5461 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1374, allocations: 4 kB / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1374, allocations: 0 / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1374, allocations: 0 / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.1375, allocations: 3.938 kB / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1376, allocations: 153.6 kB / 0.5462 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.1377, allocations: 26.61 kB / 0.5463 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.1377, allocations: 8.859 kB / 0.5463 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1377, allocations: 0 / 0.5463 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.1378, allocations: 64.27 kB / 0.5463 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1378, allocations: 0 / 0.5463 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.1379, allocations: 67.28 kB / 0.5464 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.138, allocations: 81.23 kB / 0.5465 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.1381, allocations: 97.86 kB / 0.5466 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1381, allocations: 25.7 kB / 0.5466 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1381, allocations: 80.14 kB / 0.5467 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1382, allocations: 0 / 0.5467 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1382, allocations: 13.72 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1383, allocations: 310.8 kB / 0.547 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1383, allocations: 3.984 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.1383, allocations: 0 / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.1384, allocations: 68.33 kB / 0.547 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1384, allocations: 0 / 0.547 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.263e-05/0.1385, allocations: 63.34 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.1385, allocations: 37.62 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1386, allocations: 3.938 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1386, allocations: 4 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1386, allocations: 0 / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1386, allocations: 0 / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.1386, allocations: 0 / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1386, allocations: 4.031 kB / 0.5471 GB, free: 12.31 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.674e-05/0.1387, allocations: 135.5 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.1387, allocations: 3.938 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-06/0.1388, allocations: 3.125 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1388, allocations: 0 / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.1388, allocations: 0 / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1388, allocations: 3.984 kB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.1389, allocations: 149.7 kB / 0.5474 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1389, allocations: 0 / 0.5474 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1389, allocations: 4 kB / 0.5474 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1389, allocations: 3.938 kB / 0.5474 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1389, allocations: 3.938 kB / 0.5474 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1389, allocations: 0 / 0.5474 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1389, allocations: 0 / 0.5474 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.139, allocations: 94.77 kB / 0.5475 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1391, allocations: 81.05 kB / 0.5476 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1391, allocations: 4.031 kB / 0.5476 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-06/0.1391, allocations: 4 kB / 0.5476 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.1392, allocations: 3.984 kB / 0.5476 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1392, allocations: 7.984 kB / 0.5476 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.1392, allocations: 75.28 kB / 0.5477 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1392, allocations: 0 / 0.5477 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008345/0.1401, allocations: 271.6 kB / 0.548 GB, free: 11.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.001702/0.1418, allocations: 0.9466 MB / 0.5489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1419, allocations: 55.41 kB / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1419, allocations: 0 / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.142, allocations: 59.39 kB / 0.549 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1421, allocations: 4 kB / 0.549 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.1426, allocations: 170.3 kB / 0.5492 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1429, allocations: 0.6729 MB / 0.5498 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.56e-06/0.1429, allocations: 0 / 0.5498 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.1429, allocations: 11.44 kB / 0.5498 GB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1429, allocations: 0 / 0.5498 GB, free: 9.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.1769, allocations: 8.215 MB / 0.5578 GB, free: 1.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.247, allocations: 4.062 kB / 0.5578 GB, free: 1.191 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_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_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.370272245025262] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.31859752908349 8.344498896 8.2036665 Calling exit ...