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.001497/0.001497, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001549/0.001549, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2169/0.2169, allocations: 43.51 MB / 314.1 MB, free: 448 kB / 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.001392/0.001392, allocations: 69.45 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1448, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001687/0.1465, allocations: 498.7 kB / 0.4883 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1496, allocations: 2.03 MB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-06/0.1497, allocations: 0 / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.851e-06/0.1497, allocations: 0 / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.183e-06/0.1497, allocations: 0 / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1514, allocations: 0.5065 MB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.775e-05/0.1515, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1515, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-06/0.1515, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.013e-05/0.1515, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-06/0.1515, allocations: 0 / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.1529, allocations: 0.8927 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.1529, allocations: 0 / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.1529, allocations: 0 / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.154, allocations: 0.7796 MB / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.154, allocations: 0 / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1541, allocations: 0 / 0.4925 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1541, allocations: 4 kB / 0.4925 GB, free: 7.082 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.0004599/0.1545, allocations: 375.6 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1546, allocations: 15.89 kB / 0.4928 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.1547, allocations: 76.22 kB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1548, allocations: 243.7 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1549, allocations: 154.9 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.155, allocations: 158.9 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.803e-05/0.1551, allocations: 105.3 kB / 0.4935 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.1551, allocations: 83.22 kB / 0.4936 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.1552, allocations: 150.6 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/0.1552, allocations: 150.6 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.1553, allocations: 150.6 kB / 0.494 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1556, allocations: 446 kB / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.1557, allocations: 173.1 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.1557, allocations: 84.08 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1557, allocations: 75.28 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.1558, allocations: 109.8 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1558, allocations: 0 / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.546e-05/0.1559, allocations: 37.7 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/0.156, allocations: 152.4 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.549e-05/0.156, allocations: 93.86 kB / 0.4952 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.156, allocations: 29.64 kB / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.1561, allocations: 80.14 kB / 0.4953 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.1561, allocations: 0 / 0.4953 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1561, allocations: 13.72 kB / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1562, allocations: 310.8 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.1562, allocations: 7.938 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.1563, allocations: 3.984 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.1563, allocations: 75.28 kB / 0.4957 GB, free: 3.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/0.1563, allocations: 75.28 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.366e-05/0.1564, allocations: 29.7 kB / 0.4958 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.1564, allocations: 83.22 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/0.1565, allocations: 79.28 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.035e-05/0.1566, allocations: 158.5 kB / 0.4961 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-05/0.1566, allocations: 83.33 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.688e-05/0.1567, allocations: 154.5 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.1568, allocations: 83.27 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1568, allocations: 79.27 kB / 0.4965 GB, free: 2.746 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.1569, allocations: 264.3 kB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.157, allocations: 108.9 kB / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.157, allocations: 112.1 kB / 0.4969 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/0.1571, allocations: 184.2 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.189e-05/0.1572, allocations: 180.2 kB / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/0.1572, allocations: 180.2 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1575, allocations: 401.2 kB / 0.4978 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.675e-05/0.1575, allocations: 109 kB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.1576, allocations: 104.9 kB / 0.498 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.1577, allocations: 180.2 kB / 0.4982 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.1578, allocations: 184.2 kB / 0.4984 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.406e-05/0.1578, allocations: 176.3 kB / 0.4985 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.507e-05/0.1579, allocations: 180.3 kB / 0.4987 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1581, allocations: 311.8 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.1583, allocations: 182 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.1584, allocations: 188.2 kB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1585, allocations: 109 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.1586, allocations: 184.2 kB / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.1587, allocations: 105 kB / 0.4997 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.846e-05/0.1587, allocations: 75.28 kB / 0.4998 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1587, allocations: 0 / 0.4998 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008578/0.1596, allocations: 144 kB / 0.4999 GB, free: 14.93 MB / 398.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.001007/0.1606, allocations: 336.6 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.795e-05/0.1607, allocations: 8.453 kB / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1607, allocations: 0 / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.1607, allocations: 0 / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1611, allocations: 467.6 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.1613, allocations: 152.1 kB / 0.5009 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1616, allocations: 0.669 MB / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.728e-06/0.1616, allocations: 0 / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.1617, allocations: 11.44 kB / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1617, allocations: 0 / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of Templates: time 0.007296/0.169, allocations: 3.386 MB / 0.5048 GB, free: 9.855 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches