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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 218.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007601/0.0007604, allocations: 91.72 kB / 267.1 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3424/0.3424, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.352e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 58.84 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4857, allocations: 88.93 MB / 0.5597 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.486, allocations: 73.47 kB / 0.5597 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.5083, allocations: 7.398 MB / 0.5669 GB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.5083, allocations: 0 / 0.5669 GB, free: 10.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.5083, allocations: 4 kB / 0.5669 GB, free: 10.23 MB / 394.7 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.0003436/0.5087, allocations: 401.8 kB / 0.5673 GB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5087, allocations: 8.031 kB / 0.5673 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.5088, allocations: 75.28 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.736e-05/0.5088, allocations: 243.5 kB / 0.5676 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5088, allocations: 150.6 kB / 0.5678 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.5089, allocations: 154.5 kB / 0.5679 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.17e-05/0.5089, allocations: 108.9 kB / 0.568 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5089, allocations: 75.28 kB / 0.5681 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.509, allocations: 154.5 kB / 0.5683 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.509, allocations: 150.6 kB / 0.5684 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.509, allocations: 154.6 kB / 0.5685 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.5092, allocations: 445.6 kB / 0.569 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.5093, allocations: 169.7 kB / 0.5691 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.5093, allocations: 84.12 kB / 0.5692 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5093, allocations: 75.28 kB / 0.5693 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5093, allocations: 109.4 kB / 0.5694 GB, free: 7.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5093, allocations: 8 kB / 0.5694 GB, free: 7.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.161e-05/0.5094, allocations: 37.62 kB / 0.5694 GB, free: 7.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.5094, allocations: 156.4 kB / 0.5696 GB, free: 7.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.427e-05/0.5095, allocations: 85 kB / 0.5697 GB, free: 7.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.5095, allocations: 25.7 kB / 0.5697 GB, free: 7.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.5095, allocations: 80.14 kB / 0.5698 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.5095, allocations: 0 / 0.5698 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.5095, allocations: 0 / 0.5698 GB, free: 7.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.5096, allocations: 318.8 kB / 0.5701 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/0.5096, allocations: 0 / 0.5701 GB, free: 6.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.5096, allocations: 0 / 0.5701 GB, free: 6.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.5096, allocations: 75.28 kB / 0.5701 GB, free: 6.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.5096, allocations: 75.28 kB / 0.5702 GB, free: 6.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.146e-05/0.5097, allocations: 29.7 kB / 0.5702 GB, free: 6.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5097, allocations: 89.72 kB / 0.5703 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.5097, allocations: 75.28 kB / 0.5704 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.5098, allocations: 161.1 kB / 0.5706 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.167e-05/0.5098, allocations: 83.22 kB / 0.5706 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.5098, allocations: 154.5 kB / 0.5708 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.5099, allocations: 87.16 kB / 0.5709 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5099, allocations: 75.28 kB / 0.5709 GB, free: 5.938 MB / 394.7 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 () * 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 5.077e-05/0.5099, allocations: 259.5 kB / 0.5712 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.51, allocations: 101 kB / 0.5713 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.51, allocations: 112 kB / 0.5714 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.51, allocations: 180.3 kB / 0.5716 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/0.5101, allocations: 183.1 kB / 0.5717 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.5101, allocations: 180.2 kB / 0.5719 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5102, allocations: 401.2 kB / 0.5723 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.5102, allocations: 108.9 kB / 0.5724 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.5103, allocations: 109 kB / 0.5725 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/0.5103, allocations: 180.2 kB / 0.5727 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.5103, allocations: 176.3 kB / 0.5728 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.332e-05/0.5103, allocations: 184.3 kB / 0.573 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/0.5104, allocations: 184.2 kB / 0.5732 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.812e-05/0.5104, allocations: 306.7 kB / 0.5735 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.5105, allocations: 181.3 kB / 0.5737 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.5105, allocations: 180.2 kB / 0.5738 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.5106, allocations: 113.3 kB / 0.5739 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.5106, allocations: 176.3 kB / 0.5741 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5106, allocations: 104.9 kB / 0.5742 GB, free: 2.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.502e-05/0.5107, allocations: 79.33 kB / 0.5743 GB, free: 2.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5107, allocations: 0 / 0.5743 GB, free: 2.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000539/0.5112, allocations: 186.3 kB / 0.5745 GB, free: 2.133 MB / 394.7 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 () * 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.0006141/0.5118, allocations: 374.4 kB / 0.5748 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 3.754e-05/0.5119, allocations: 0 / 0.5748 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5119, allocations: 0 / 0.5748 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5119, allocations: 3.938 kB / 0.5748 GB, free: 1.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.5121, allocations: 0.5224 MB / 0.5753 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.571e-05/0.5122, allocations: 119.4 kB / 0.5754 GB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.5123, allocations: 0.677 MB / 0.5761 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.146e-05/0.5123, allocations: 0 / 0.5761 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.5123, allocations: 7.438 kB / 0.5761 GB, free: 404 kB / 394.7 MB Notification: Performance of SimCode: time 1.81e-07/0.5123, allocations: 4 kB / 0.5761 GB, free: 400 kB / 394.7 MB Notification: Performance of Templates: time 0.006752/0.5191, allocations: 3.706 MB / 0.5797 GB, free: 12.71 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches