Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2038/0.2038, allocations: 44.19 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.48 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 60.82 MB / 469.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001776/0.1196, allocations: 0.4919 MB / 469.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1221, allocations: 1.976 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-06/0.1221, allocations: 4 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-06/0.1222, allocations: 0 / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.1222, allocations: 0 / 471.8 MB, free: 11.76 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1237, allocations: 0.5055 MB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.341e-05/0.1237, allocations: 0 / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.765e-05/0.1238, allocations: 0 / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-06/0.1238, allocations: 3.938 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.191e-05/0.1238, allocations: 4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-06/0.1238, allocations: 0 / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.125, allocations: 0.8849 MB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-06/0.1251, allocations: 0 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.1251, allocations: 0 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.1259, allocations: 0.7836 MB / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1259, allocations: 0 / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1259, allocations: 0 / 474 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1259, allocations: 0 / 474 MB, free: 9.574 MB / 350.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.0004267/0.1264, allocations: 375.6 kB / 474.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1264, allocations: 12.03 kB / 474.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.1265, allocations: 114 kB / 474.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.1265, allocations: 76.22 kB / 474.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1267, allocations: 235.7 kB / 474.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.1267, allocations: 150.9 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.1268, allocations: 154.9 kB / 475.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.833e-05/0.1268, allocations: 105.1 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.1269, allocations: 83.28 kB / 475.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.1269, allocations: 154.6 kB / 475.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.127, allocations: 150.6 kB / 475.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.127, allocations: 154.6 kB / 475.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1273, allocations: 441.9 kB / 476.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.1274, allocations: 173.1 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.1275, allocations: 84.14 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1275, allocations: 83.27 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.1276, allocations: 109.8 kB / 476.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1276, allocations: 3.938 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.351e-05/0.1276, allocations: 37.64 kB / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1277, allocations: 152.4 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.384e-05/0.1278, allocations: 89.86 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1278, allocations: 29.7 kB / 476.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.1278, allocations: 80.14 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.1278, allocations: 0 / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.1279, allocations: 9.719 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.128, allocations: 318.8 kB / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-06/0.128, allocations: 0 / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.128, allocations: 4 kB / 477.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.128, allocations: 79.28 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.1281, allocations: 75.33 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.444e-05/0.1281, allocations: 29.7 kB / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.1282, allocations: 87.22 kB / 477.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.1282, allocations: 83.16 kB / 477.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-05/0.1283, allocations: 154.6 kB / 477.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.1283, allocations: 79.22 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.528e-05/0.1284, allocations: 158.5 kB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1284, allocations: 75.28 kB / 478.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1285, allocations: 83.22 kB / 478.2 MB, free: 5.125 MB / 350.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.0001112/0.1286, allocations: 264.4 kB / 478.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1287, allocations: 104.9 kB / 478.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1287, allocations: 108 kB / 478.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.1288, allocations: 180.2 kB / 478.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.1288, allocations: 180.3 kB / 479 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.089e-05/0.1289, allocations: 184.2 kB / 479.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1291, allocations: 401.2 kB / 479.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.1292, allocations: 104.9 kB / 479.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1292, allocations: 105 kB / 479.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.388e-05/0.1293, allocations: 184.1 kB / 480 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.1293, allocations: 184.3 kB / 480.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.728e-05/0.1294, allocations: 176.3 kB / 480.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-05/0.1295, allocations: 192.2 kB / 480.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.1296, allocations: 303.8 kB / 480.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.1297, allocations: 182 kB / 481 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.1297, allocations: 184.2 kB / 481.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.1298, allocations: 116.9 kB / 481.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1299, allocations: 176.3 kB / 481.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1299, allocations: 104.9 kB / 481.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.13, allocations: 75.28 kB / 481.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.13, allocations: 0 / 481.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000548/0.1305, allocations: 148.2 kB / 481.8 MB, free: 1.32 MB / 350.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.0009102/0.1314, allocations: 0.9756 MB / 482.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.058e-05/0.1315, allocations: 0 / 482.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1315, allocations: 0 / 482.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1315, allocations: 7.938 kB / 482.8 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1318, allocations: 455.6 kB / 483.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1323, allocations: 233.8 kB / 483.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1326, allocations: 0.6729 MB / 484.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.075e-05/0.1326, allocations: 0 / 484.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.1326, allocations: 7.438 kB / 484.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1326, allocations: 0 / 484.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1577, allocations: 4.223 MB / 488.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/9.252, allocations: 16.83 kB / 488.3 MB, free: 10.76 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)