Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 178.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 93.28 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2902/0.2902, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.356e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4416, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.6083, allocations: 88.28 MB / 0.5521 GB, free: 11.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.6086, allocations: 67.47 kB / 0.5522 GB, free: 10.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04231/0.6509, allocations: 7.373 MB / 0.5594 GB, free: 3.582 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.651, allocations: 0 / 0.5594 GB, free: 3.582 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.651, allocations: 0 / 0.5594 GB, free: 3.582 MB / 395.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.0006281/0.6516, allocations: 406.2 kB / 0.5597 GB, free: 3.141 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6517, allocations: 12.03 kB / 0.5598 GB, free: 3.129 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.6518, allocations: 75.28 kB / 0.5598 GB, free: 3.055 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.6519, allocations: 234.4 kB / 0.5601 GB, free: 2.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-05/0.652, allocations: 150.6 kB / 0.5602 GB, free: 2.637 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.6521, allocations: 150.6 kB / 0.5603 GB, free: 2.488 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.216e-05/0.6522, allocations: 158.5 kB / 0.5605 GB, free: 2.332 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.6522, allocations: 108.9 kB / 0.5606 GB, free: 2.219 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.6523, allocations: 83.27 kB / 0.5607 GB, free: 2.137 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.6524, allocations: 150.6 kB / 0.5608 GB, free: 1.988 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.6525, allocations: 150.6 kB / 0.561 GB, free: 1.84 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.6528, allocations: 422.5 kB / 0.5614 GB, free: 1.391 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.6529, allocations: 165.1 kB / 0.5615 GB, free: 1.219 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.653, allocations: 88.72 kB / 0.5616 GB, free: 1.129 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.653, allocations: 75.28 kB / 0.5617 GB, free: 1.055 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.6531, allocations: 113.8 kB / 0.5618 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.6531, allocations: 4 kB / 0.5618 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 9.097e-05/0.6532, allocations: 29.66 kB / 0.5618 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.6533, allocations: 77.11 kB / 0.5619 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.444e-05/0.6533, allocations: 88.98 kB / 0.562 GB, free: 0.707 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.6533, allocations: 25.7 kB / 0.562 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.6534, allocations: 150.6 kB / 0.5621 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.6534, allocations: 0 / 0.5621 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-07/0.6534, allocations: 4 kB / 0.5622 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6536, allocations: 314.8 kB / 0.5625 GB, free: 212 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.6536, allocations: 0 / 0.5625 GB, free: 212 kB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.6536, allocations: 0 / 0.5625 GB, free: 212 kB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.6537, allocations: 83.22 kB / 0.5625 GB, free: 128 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/0.6537, allocations: 75.28 kB / 0.5626 GB, free: 52 kB / 395.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.863e-05/0.6538, allocations: 33.7 kB / 0.5626 GB, free: 12 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.6539, allocations: 83.22 kB / 0.5627 GB, free: 15.93 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.6539, allocations: 75.28 kB / 0.5628 GB, free: 15.86 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.59e-05/0.654, allocations: 158.5 kB / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.189e-05/0.6541, allocations: 89.95 kB / 0.563 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-05/0.6542, allocations: 150.6 kB / 0.5632 GB, free: 15.46 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.6543, allocations: 83.17 kB / 0.5632 GB, free: 15.38 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.6543, allocations: 75.28 kB / 0.5633 GB, free: 15.31 MB / 411.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 () * 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.0001478/0.6545, allocations: 259.5 kB / 0.5636 GB, free: 15.05 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.6545, allocations: 101 kB / 0.5637 GB, free: 14.94 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.6546, allocations: 108.7 kB / 0.5638 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.874e-05/0.6547, allocations: 184.2 kB / 0.5639 GB, free: 14.64 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.167e-05/0.6548, allocations: 180.3 kB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.644e-05/0.6549, allocations: 180.2 kB / 0.5643 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.6552, allocations: 381.8 kB / 0.5646 GB, free: 13.85 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.073e-05/0.6553, allocations: 105 kB / 0.5647 GB, free: 13.74 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.6553, allocations: 108.9 kB / 0.5649 GB, free: 13.63 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.36e-05/0.6554, allocations: 176.3 kB / 0.565 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-05/0.6555, allocations: 180.3 kB / 0.5652 GB, free: 13.27 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.26e-05/0.6556, allocations: 188.2 kB / 0.5654 GB, free: 13.07 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-05/0.6557, allocations: 176.3 kB / 0.5655 GB, free: 12.89 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.6559, allocations: 307.7 kB / 0.5658 GB, free: 12.57 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.656, allocations: 182.1 kB / 0.566 GB, free: 12.37 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.6561, allocations: 180.2 kB / 0.5662 GB, free: 12.18 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6562, allocations: 112.9 kB / 0.5663 GB, free: 12.07 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.6563, allocations: 176.7 kB / 0.5665 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.6564, allocations: 105 kB / 0.5666 GB, free: 11.78 MB / 411.1 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.6564, allocations: 75.28 kB / 0.5666 GB, free: 11.7 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6564, allocations: 3.938 kB / 0.5666 GB, free: 11.7 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000979/0.6574, allocations: 179.7 kB / 0.5668 GB, free: 11.52 MB / 411.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 () * 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.001087/0.6585, allocations: 390.3 kB / 0.5672 GB, free: 11.14 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 5.101e-05/0.6586, allocations: 3.984 kB / 0.5672 GB, free: 11.13 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6586, allocations: 4 kB / 0.5672 GB, free: 11.13 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.6586, allocations: 4 kB / 0.5672 GB, free: 11.12 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.659, allocations: 0.5185 MB / 0.5677 GB, free: 10.6 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.6592, allocations: 144.9 kB / 0.5678 GB, free: 10.43 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6595, allocations: 0.6806 MB / 0.5685 GB, free: 9.723 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.6595, allocations: 11.44 kB / 0.5685 GB, free: 9.711 MB / 411.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6595, allocations: 0 / 0.5685 GB, free: 9.711 MB / 411.1 MB Notification: Performance of Templates: time 0.009062/0.6686, allocations: 3.305 MB / 0.5717 GB, free: 6.406 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches