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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 105.8 kB / 16.64 MB, free: 6.812 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.001209/0.001209, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.383/1.383, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 43.51 MB / 314.3 MB, free: 0.7109 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.001386/0.001386, allocations: 65.62 kB / 382.9 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08703, allocations: 57.79 MB / 440.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001402/0.08848, allocations: 0.5544 MB / 441.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.09052, allocations: 2.018 MB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-06/0.09054, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-06/0.09057, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.09057, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.09199, allocations: 475.7 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 1.635e-05/0.09201, allocations: 3.938 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.09205, allocations: 0 / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.09207, allocations: 0 / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.335e-05/0.09209, allocations: 7.922 kB / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-06/0.0921, allocations: 4 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.09307, allocations: 0.8771 MB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.09309, allocations: 3.984 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.09311, allocations: 0 / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.09355, allocations: 0.554 MB / 445.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09356, allocations: 0 / 445.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09357, allocations: 0 / 445.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.09357, allocations: 0 / 445.1 MB, free: 2.875 MB / 318.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.0002622/0.09384, allocations: 386.6 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.09388, allocations: 11.89 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.09393, allocations: 76.22 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.539e-05/0.09399, allocations: 235.7 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.09402, allocations: 150.9 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.09405, allocations: 150.9 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.725e-05/0.0941, allocations: 113.2 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.09412, allocations: 79.28 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.09415, allocations: 150.6 kB / 446.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.09417, allocations: 158.6 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.0942, allocations: 154.6 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.09437, allocations: 445.9 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.09442, allocations: 177 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.09444, allocations: 84.14 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.09445, allocations: 75.28 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.09448, allocations: 109.8 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.09448, allocations: 4 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.895e-05/0.09455, allocations: 25.7 kB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.09461, allocations: 156.4 kB / 447.8 MB, free: 16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.676e-05/0.09465, allocations: 89.86 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.09467, allocations: 25.7 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.09471, allocations: 84.12 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.09471, allocations: 0 / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.09474, allocations: 13.66 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.09485, allocations: 322.8 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.09486, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.09488, allocations: 0 / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.09492, allocations: 75.28 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.09495, allocations: 75.28 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.762e-05/0.095, allocations: 29.7 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.09505, allocations: 87.16 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.09508, allocations: 79.22 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-05/0.09515, allocations: 158.6 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-05/0.09518, allocations: 79.28 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-05/0.09523, allocations: 154.5 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.09531, allocations: 79.28 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.09534, allocations: 79.22 kB / 449.2 MB, free: 14.55 MB / 334.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.0001074/0.09546, allocations: 272.3 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.09552, allocations: 104.9 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.09556, allocations: 108.1 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/0.09563, allocations: 188.2 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-05/0.0957, allocations: 180.3 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/0.09577, allocations: 184.4 kB / 450.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.09598, allocations: 401.2 kB / 450.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.09602, allocations: 105 kB / 450.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.09606, allocations: 108.9 kB / 450.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.09612, allocations: 184.2 kB / 451 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.09619, allocations: 180.2 kB / 451.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.408e-05/0.09625, allocations: 188.2 kB / 451.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.578e-05/0.09631, allocations: 184.2 kB / 451.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.09643, allocations: 299.8 kB / 451.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.09651, allocations: 186 kB / 452 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.09658, allocations: 180.2 kB / 452.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.09666, allocations: 112.9 kB / 452.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.09673, allocations: 180.3 kB / 452.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.09678, allocations: 101 kB / 452.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.683e-05/0.09681, allocations: 79.28 kB / 452.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09681, allocations: 0 / 452.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005714/0.09739, allocations: 144 kB / 452.8 MB, free: 10.73 MB / 334.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.0006728/0.09807, allocations: 340.5 kB / 453.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.959e-05/0.09813, allocations: 4 kB / 453.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.09814, allocations: 0 / 453.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.09815, allocations: 4 kB / 453.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.09847, allocations: 463.6 kB / 453.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.09862, allocations: 170 kB / 453.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.09883, allocations: 0.6729 MB / 454.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.09885, allocations: 7.438 kB / 454.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09886, allocations: 0 / 454.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of Templates: time 0.004817/0.1037, allocations: 2.922 MB / 457.4 MB, free: 6.109 MB / 334.1 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/jenkins1/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