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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009777/0.0009779, allocations: 176.7 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3922/0.3922, allocations: 43.56 MB / 314.6 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.000508, allocations: 18.95 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006514/0.1397, allocations: 232.4 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1428, allocations: 1.919 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-06/0.1429, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.189e-06/0.1429, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.064e-06/0.1429, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1446, allocations: 463.1 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.605e-05/0.1446, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1447, allocations: 7.984 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-06/0.1447, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.1447, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.1447, allocations: 3.938 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.1461, allocations: 0.8264 MB / 446.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-06/0.1461, allocations: 4 kB / 446.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.1461, allocations: 25.7 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.147, allocations: 0.5459 MB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1471, allocations: 0 / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1471, allocations: 4 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1471, allocations: 0 / 446.9 MB, free: 9.141 MB / 382.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.0005794/0.1477, allocations: 371.7 kB / 447.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.1477, allocations: 8.031 kB / 447.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.883e-05/0.1478, allocations: 109.8 kB / 447.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.1479, allocations: 83.23 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1481, allocations: 234.4 kB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.1482, allocations: 150.6 kB / 447.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.1482, allocations: 154.6 kB / 448 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.821e-05/0.1483, allocations: 108.9 kB / 448.1 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.1484, allocations: 75.28 kB / 448.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.1485, allocations: 158.5 kB / 448.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.1485, allocations: 158.5 kB / 448.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.1486, allocations: 150.6 kB / 448.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.1489, allocations: 438 kB / 449 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.149, allocations: 177.1 kB / 449.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.149, allocations: 84.14 kB / 449.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1491, allocations: 75.28 kB / 449.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.1491, allocations: 105.8 kB / 449.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.1491, allocations: 0 / 449.5 MB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.473e-05/0.1492, allocations: 33.62 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.1493, allocations: 160.4 kB / 449.7 MB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.1494, allocations: 97.75 kB / 449.8 MB, free: 6.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1494, allocations: 25.7 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.1494, allocations: 80.14 kB / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1494, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-08/0.1494, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1496, allocations: 310.8 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.1496, allocations: 0 / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.1496, allocations: 8 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.1497, allocations: 79.28 kB / 450.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.1497, allocations: 75.28 kB / 450.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.093e-05/0.1497, allocations: 25.7 kB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.1498, allocations: 83.28 kB / 450.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.1498, allocations: 83.2 kB / 450.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.806e-05/0.1499, allocations: 150.6 kB / 450.7 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.1499, allocations: 83.25 kB / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-05/0.15, allocations: 154.6 kB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.1501, allocations: 75.28 kB / 451 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1501, allocations: 87.17 kB / 451 MB, free: 4.727 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.1502, allocations: 264.4 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1503, allocations: 109 kB / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.1504, allocations: 112 kB / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-05/0.1505, allocations: 176.3 kB / 451.7 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.469e-05/0.1506, allocations: 180.3 kB / 451.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-05/0.1506, allocations: 188.2 kB / 452.1 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1509, allocations: 401.4 kB / 452.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001243/0.1511, allocations: 108.9 kB / 452.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.1511, allocations: 109 kB / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-05/0.1512, allocations: 176.3 kB / 452.8 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-05/0.1513, allocations: 188.2 kB / 453 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.458e-05/0.1513, allocations: 176.3 kB / 453.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.877e-05/0.1514, allocations: 188.2 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1516, allocations: 303.7 kB / 453.7 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1517, allocations: 190 kB / 453.8 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.1517, allocations: 180.3 kB / 454 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.1518, allocations: 108.9 kB / 454.1 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.1519, allocations: 188.3 kB / 454.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.152, allocations: 101 kB / 454.4 MB, free: 1.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.152, allocations: 79.22 kB / 454.5 MB, free: 1.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.152, allocations: 0 / 454.5 MB, free: 1.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.1527, allocations: 151.9 kB / 454.6 MB, free: 0.9023 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.255/0.4078, allocations: 0.9592 MB / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.4079, allocations: 2.5 kB / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4079, allocations: 0 / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.4079, allocations: 2.75 kB / 455.6 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4083, allocations: 0.5187 MB / 456.1 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.4089, allocations: 219.4 kB / 456.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.409, allocations: 0.6752 MB / 457 MB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.199e-05/0.409, allocations: 2.625 kB / 457 MB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.4091, allocations: 11.89 kB / 457 MB, free: 45.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4091, allocations: 0 / 457 MB, free: 45.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.4261, allocations: 4.081 MB / 461.1 MB, free: 45.21 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.4263, allocations: 235.9 kB / 461.3 MB, free: 44.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.332, allocations: 6.203 kB / 461.3 MB, free: 44.97 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat