Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 110 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 221.6 kB / 23 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 75.88 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1235, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001607/0.1251, allocations: 0.494 MB / 0.5166 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1282, allocations: 2.049 MB / 0.5186 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-06/0.1282, allocations: 0 / 0.5186 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.628e-06/0.1282, allocations: 3.938 kB / 0.5186 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.382e-06/0.1282, allocations: 0 / 0.5186 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1301, allocations: 0.5688 MB / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.257e-05/0.1301, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.1302, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-06/0.1302, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-06/0.1302, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-06/0.1302, allocations: 0 / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.1319, allocations: 1.103 MB / 0.5202 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.1319, allocations: 0 / 0.5202 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.1319, allocations: 0 / 0.5202 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1329, allocations: 0.83 MB / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1329, allocations: 0 / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1329, allocations: 0 / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1329, allocations: 0 / 0.5211 GB, free: 2.266 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003429/0.1332, allocations: 297.8 kB / 0.5213 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1333, allocations: 8.031 kB / 0.5214 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.1334, allocations: 114 kB / 0.5215 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.1334, allocations: 76.22 kB / 0.5215 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1335, allocations: 185.8 kB / 0.5217 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.1336, allocations: 150.9 kB / 0.5219 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.1337, allocations: 150.9 kB / 0.522 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.833e-05/0.1337, allocations: 109 kB / 0.5221 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.1338, allocations: 79.27 kB / 0.5222 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.1339, allocations: 154.6 kB / 0.5223 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.1339, allocations: 158.5 kB / 0.5225 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.134, allocations: 158.6 kB / 0.5226 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1343, allocations: 409 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1345, allocations: 169.1 kB / 0.5232 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.539e-05/0.1345, allocations: 92.12 kB / 0.5233 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.1346, allocations: 79.28 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/0.1346, allocations: 109.8 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1346, allocations: 0 / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.523e-05/0.1347, allocations: 25.7 kB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1348, allocations: 156.3 kB / 0.5236 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.1349, allocations: 97.86 kB / 0.5237 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1349, allocations: 25.7 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.1349, allocations: 80.14 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1349, allocations: 0 / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1349, allocations: 9.719 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1351, allocations: 314.8 kB / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-06/0.1351, allocations: 0 / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.1351, allocations: 4 kB / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.1352, allocations: 87.3 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.379e-05/0.1352, allocations: 79.28 kB / 0.5243 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.594e-05/0.1353, allocations: 29.7 kB / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.1353, allocations: 83.22 kB / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-05/0.1354, allocations: 79.22 kB / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.406e-05/0.1355, allocations: 150.6 kB / 0.5246 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.1355, allocations: 83.22 kB / 0.5247 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.537e-05/0.1356, allocations: 154.6 kB / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.1357, allocations: 75.28 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.1357, allocations: 87.2 kB / 0.525 GB, free: 14.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001481/0.1358, allocations: 264.3 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.1359, allocations: 104.9 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.136, allocations: 107.9 kB / 0.5254 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.768e-05/0.136, allocations: 180.3 kB / 0.5256 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.1361, allocations: 184.2 kB / 0.5258 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/0.1362, allocations: 188.2 kB / 0.526 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1365, allocations: 364.3 kB / 0.5263 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.719e-05/0.1365, allocations: 108.9 kB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.1366, allocations: 112.9 kB / 0.5265 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.368e-05/0.1366, allocations: 180.2 kB / 0.5267 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.1367, allocations: 184.2 kB / 0.5269 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-05/0.1368, allocations: 180.3 kB / 0.5271 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/0.1369, allocations: 180.2 kB / 0.5272 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.137, allocations: 307.8 kB / 0.5275 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.1371, allocations: 108.9 kB / 0.5276 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.1372, allocations: 180.3 kB / 0.5278 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.1372, allocations: 104.9 kB / 0.5279 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.1373, allocations: 180.2 kB / 0.5281 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.1374, allocations: 105.4 kB / 0.5282 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.837e-05/0.1374, allocations: 79.22 kB / 0.5282 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1374, allocations: 0 / 0.5282 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.138, allocations: 147.6 kB / 0.5284 GB, free: 10.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001016/0.139, allocations: 0.9885 MB / 0.5294 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.707e-05/0.1391, allocations: 0 / 0.5294 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1391, allocations: 4 kB / 0.5294 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.1391, allocations: 7.938 kB / 0.5294 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1394, allocations: 451.7 kB / 0.5298 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.1399, allocations: 233.4 kB / 0.53 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1401, allocations: 0.669 MB / 0.5307 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.1401, allocations: 4 kB / 0.5307 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.1402, allocations: 7.438 kB / 0.5307 GB, free: 7.895 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1402, allocations: 4 kB / 0.5307 GB, free: 7.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.1698, allocations: 4.351 MB / 0.5349 GB, free: 3.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.04, allocations: 16.8 kB / 0.5349 GB, free: 3.52 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.041014569003892] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.13926583200373 11.365709944 11.230075888 Calling exit ...