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.001278/0.001278, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.675/1.675, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008607/0.0008608, allocations: 91.97 kB / 261.7 MB, free: 1.688 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.2178/0.2178, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.644e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5758, allocations: 88.28 MB / 0.5521 GB, free: 7.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.576, allocations: 66.69 kB / 0.5522 GB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02221/0.5983, allocations: 7.376 MB / 0.5594 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5983, allocations: 0 / 0.5594 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.5983, allocations: 0 / 0.5594 GB, free: 0.8281 MB / 362.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.0004314/0.5988, allocations: 405.4 kB / 0.5598 GB, free: 400 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5988, allocations: 8.031 kB / 0.5598 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.5989, allocations: 75.28 kB / 0.5599 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.5989, allocations: 234.4 kB / 0.5601 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.599, allocations: 154.6 kB / 0.5602 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.5991, allocations: 154.6 kB / 0.5604 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.722e-05/0.5992, allocations: 150.6 kB / 0.5605 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.962e-05/0.5992, allocations: 112.9 kB / 0.5606 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.5993, allocations: 76.03 kB / 0.5607 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.5994, allocations: 154.6 kB / 0.5608 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.5994, allocations: 153.6 kB / 0.561 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.5997, allocations: 418.5 kB / 0.5614 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.5998, allocations: 169.1 kB / 0.5616 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.5998, allocations: 88.09 kB / 0.5616 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.5999, allocations: 79.22 kB / 0.5617 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.5999, allocations: 105.8 kB / 0.5618 GB, free: 14.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.5999, allocations: 3.938 kB / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.229e-05/0.6, allocations: 29.66 kB / 0.5618 GB, free: 14.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.6, allocations: 81.11 kB / 0.5619 GB, free: 14.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.083e-05/0.6001, allocations: 88.98 kB / 0.562 GB, free: 13.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6001, allocations: 29.7 kB / 0.562 GB, free: 13.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.6001, allocations: 80.14 kB / 0.5621 GB, free: 13.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.6002, allocations: 0 / 0.5621 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/0.6002, allocations: 0 / 0.5621 GB, free: 13.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6003, allocations: 314.3 kB / 0.5624 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-06/0.6003, allocations: 0 / 0.5624 GB, free: 13.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.6004, allocations: 0 / 0.5624 GB, free: 13.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.6004, allocations: 83.28 kB / 0.5625 GB, free: 13.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.43e-05/0.6004, allocations: 83.25 kB / 0.5626 GB, free: 13.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.828e-05/0.6005, allocations: 25.7 kB / 0.5626 GB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.6006, allocations: 83.22 kB / 0.5627 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.6006, allocations: 79.28 kB / 0.5628 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-05/0.6007, allocations: 150.6 kB / 0.5629 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.398e-05/0.6007, allocations: 83.2 kB / 0.563 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.59e-05/0.6008, allocations: 150.6 kB / 0.5631 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.6009, allocations: 91.23 kB / 0.5632 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6009, allocations: 79.22 kB / 0.5633 GB, free: 12.63 MB / 378.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 0.0001211/0.601, allocations: 254.9 kB / 0.5635 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.6011, allocations: 101 kB / 0.5636 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.6012, allocations: 112.7 kB / 0.5637 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/0.6013, allocations: 184.2 kB / 0.5639 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.647e-05/0.6013, allocations: 176.3 kB / 0.5641 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.287e-05/0.6014, allocations: 180.2 kB / 0.5642 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.6016, allocations: 385.2 kB / 0.5646 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/0.6017, allocations: 109 kB / 0.5647 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.6017, allocations: 104.9 kB / 0.5648 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/0.6018, allocations: 181.5 kB / 0.565 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.6019, allocations: 180.3 kB / 0.5652 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.502e-05/0.6019, allocations: 184.2 kB / 0.5653 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.738e-05/0.602, allocations: 180.2 kB / 0.5655 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.6022, allocations: 311 kB / 0.5658 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.6023, allocations: 178.1 kB / 0.566 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/0.6023, allocations: 180.2 kB / 0.5661 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.6024, allocations: 108.9 kB / 0.5662 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.6025, allocations: 176.7 kB / 0.5664 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.6025, allocations: 104.4 kB / 0.5665 GB, free: 9.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.6026, allocations: 79.28 kB / 0.5666 GB, free: 9.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6026, allocations: 0 / 0.5666 GB, free: 9.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007124/0.6033, allocations: 187.2 kB / 0.5668 GB, free: 8.859 MB / 378.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.0008017/0.6041, allocations: 376.2 kB / 0.5671 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.58e-05/0.6042, allocations: 4 kB / 0.5671 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6042, allocations: 0 / 0.5671 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.6042, allocations: 0 / 0.5671 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.6045, allocations: 0.5224 MB / 0.5676 GB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001311/0.6046, allocations: 122.8 kB / 0.5678 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.6049, allocations: 0.6767 MB / 0.5684 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.025e-06/0.6049, allocations: 3.938 kB / 0.5684 GB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.6049, allocations: 11.44 kB / 0.5684 GB, free: 7.121 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6049, allocations: 0 / 0.5684 GB, free: 7.121 MB / 378.7 MB Notification: Performance of Templates: time 0.007827/0.6128, allocations: 3.666 MB / 0.572 GB, free: 3.469 MB / 378.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