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.0009546/0.0009547, allocations: 96.28 kB / 15.69 MB, free: 480 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.001188/0.001188, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.702/1.702, allocations: 205.4 MB / 222.7 MB, free: 5.902 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.4573/0.4573, allocations: 43.54 MB / 314.5 MB, free: 8.633 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.0007259/0.0007262, allocations: 16 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1678, allocations: 58.85 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.000587/0.1685, allocations: 228.4 kB / 443.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.1716, allocations: 1.909 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-06/0.1716, allocations: 4 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.911e-06/0.1717, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.382e-06/0.1717, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1732, allocations: 431.1 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.468e-05/0.1732, allocations: 0 / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1733, allocations: 7.938 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-06/0.1733, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.495e-05/0.1733, allocations: 3.984 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-06/0.1733, allocations: 0 / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009993/0.1743, allocations: 0.7096 MB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1743, allocations: 3.984 kB / 446.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1744, allocations: 25.7 kB / 446.1 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.175, allocations: 0.5186 MB / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.175, allocations: 0 / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.175, allocations: 0 / 446.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.175, allocations: 0 / 446.7 MB, free: 9.16 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.0004676/0.1755, allocations: 379.6 kB / 447 MB, free: 8.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1755, allocations: 12.03 kB / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.156e-05/0.1756, allocations: 109.8 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.1757, allocations: 79.23 kB / 447.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.176, allocations: 238.3 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.176, allocations: 150.6 kB / 447.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1762, allocations: 150.6 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.1763, allocations: 105 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.1765, allocations: 79.28 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.1766, allocations: 150.6 kB / 448.1 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.1767, allocations: 162.4 kB / 448.2 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1768, allocations: 154.6 kB / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.1773, allocations: 442 kB / 448.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.1774, allocations: 169.1 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.1775, allocations: 75.28 kB / 449.1 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.1775, allocations: 113.8 kB / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1775, allocations: 0 / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.871e-05/0.1776, allocations: 29.69 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.1778, allocations: 156.4 kB / 449.4 MB, free: 6.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.1778, allocations: 89.86 kB / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1779, allocations: 25.7 kB / 449.5 MB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.178, allocations: 80.14 kB / 449.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.178, allocations: 0 / 449.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.178, allocations: 0 / 449.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1782, allocations: 322.8 kB / 449.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.1782, allocations: 0 / 449.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1782, allocations: 4 kB / 449.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.1783, allocations: 75.28 kB / 449.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.389e-05/0.1784, allocations: 75.28 kB / 450 MB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.549e-05/0.1784, allocations: 33.64 kB / 450 MB, free: 5.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.1785, allocations: 83.27 kB / 450.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/0.1785, allocations: 75.28 kB / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.162e-05/0.1786, allocations: 154.5 kB / 450.4 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.1787, allocations: 87.36 kB / 450.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.192e-05/0.1788, allocations: 154.5 kB / 450.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.1789, allocations: 83.22 kB / 450.7 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1789, allocations: 75.28 kB / 450.7 MB, free: 4.828 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.0001517/0.1791, allocations: 268.3 kB / 451 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1791, allocations: 116.9 kB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.1792, allocations: 104.1 kB / 451.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.579e-05/0.1793, allocations: 184.2 kB / 451.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/0.1794, allocations: 180.3 kB / 451.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.999e-05/0.1795, allocations: 176.3 kB / 451.8 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1797, allocations: 405.4 kB / 452.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-05/0.1798, allocations: 109 kB / 452.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.1799, allocations: 108.9 kB / 452.4 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.1799, allocations: 184.2 kB / 452.5 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.18, allocations: 184.2 kB / 452.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.001e-05/0.1801, allocations: 184.2 kB / 452.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.177e-05/0.1802, allocations: 184.2 kB / 453.1 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1804, allocations: 311.7 kB / 453.4 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.1805, allocations: 182.1 kB / 453.6 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.1806, allocations: 180.2 kB / 453.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1809, allocations: 105 kB / 453.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.181, allocations: 184.2 kB / 454 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.181, allocations: 105 kB / 454.1 MB, free: 1.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.1811, allocations: 75.28 kB / 454.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1811, allocations: 0 / 454.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006913/0.1818, allocations: 139.9 kB / 454.3 MB, free: 1.012 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.001176/0.183, allocations: 0.9567 MB / 455.3 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.966e-05/0.183, allocations: 11.94 kB / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.183, allocations: 0 / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.183, allocations: 0 / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3114/0.4944, allocations: 0.5185 MB / 455.8 MB, free: 46.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.4951, allocations: 213.2 kB / 456 MB, free: 46.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.4952, allocations: 0.68 MB / 456.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.4953, allocations: 1.312 kB / 456.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.4953, allocations: 7.438 kB / 456.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4953, allocations: 0 / 456.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.5122, allocations: 3.76 MB / 460.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.5125, allocations: 237 kB / 460.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.511, allocations: 0 / 460.7 MB, free: 45.07 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