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.001106/0.001106, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001105/0.001105, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.258/0.258, allocations: 43.53 MB / 314.1 MB, free: 460 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.001685/0.001685, allocations: 67.89 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1484, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002129/0.1506, allocations: 494.8 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.1545, allocations: 2.022 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-06/0.1545, allocations: 8 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-06/0.1545, allocations: 0 / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.1546, allocations: 0 / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1564, allocations: 0.5094 MB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.899e-05/0.1564, allocations: 0 / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1564, allocations: 0 / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.1564, allocations: 0 / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.377e-05/0.1565, allocations: 4 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1565, allocations: 0 / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.1578, allocations: 0.8888 MB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.1578, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.1578, allocations: 3.984 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009822/0.1588, allocations: 0.7835 MB / 0.4925 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1589, allocations: 0 / 0.4925 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1589, allocations: 0 / 0.4925 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1589, allocations: 0 / 0.4925 GB, free: 7.098 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.0005188/0.1594, allocations: 379.5 kB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.1595, allocations: 15.89 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1596, allocations: 76.22 kB / 0.4929 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1598, allocations: 239.7 kB / 0.4931 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.1599, allocations: 150.9 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.1599, allocations: 150.9 kB / 0.4934 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1601, allocations: 109.3 kB / 0.4935 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.1601, allocations: 87.22 kB / 0.4936 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.1602, allocations: 158.6 kB / 0.4938 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.1603, allocations: 154.5 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1604, allocations: 154.5 kB / 0.4941 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1608, allocations: 438 kB / 0.4945 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.161, allocations: 177.1 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.161, allocations: 80.14 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.1611, allocations: 75.28 kB / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/0.1611, allocations: 109.8 kB / 0.4949 GB, free: 4.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/0.1611, allocations: 3.938 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000111/0.1613, allocations: 33.69 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1614, allocations: 160.3 kB / 0.4951 GB, free: 4.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.1615, allocations: 93.86 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1615, allocations: 25.7 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1615, allocations: 80.14 kB / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.1615, allocations: 0 / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1616, allocations: 13.72 kB / 0.4953 GB, free: 3.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1617, allocations: 310.8 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.1618, allocations: 4 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.1618, allocations: 0 / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.1618, allocations: 79.31 kB / 0.4957 GB, free: 3.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/0.1619, allocations: 75.28 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.273e-05/0.1619, allocations: 33.64 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.162, allocations: 87.2 kB / 0.4959 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.162, allocations: 75.28 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.789e-05/0.1621, allocations: 154.5 kB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.297e-05/0.1621, allocations: 83.33 kB / 0.4962 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.471e-05/0.1622, allocations: 158.6 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-05/0.1623, allocations: 79.22 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.1624, allocations: 75.28 kB / 0.4964 GB, free: 2.762 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.0001664/0.1625, allocations: 264.3 kB / 0.4967 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.1626, allocations: 112.8 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.1627, allocations: 108.1 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.064e-05/0.1628, allocations: 180.3 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/0.1629, allocations: 184.2 kB / 0.4973 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.721e-05/0.163, allocations: 176.3 kB / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1632, allocations: 405.1 kB / 0.4978 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-05/0.1633, allocations: 109 kB / 0.4979 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1634, allocations: 101 kB / 0.498 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.1635, allocations: 188.1 kB / 0.4982 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.1636, allocations: 180.2 kB / 0.4984 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.166e-05/0.1637, allocations: 184.2 kB / 0.4985 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001329/0.1638, allocations: 180.2 kB / 0.4987 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.164, allocations: 315.8 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.1641, allocations: 178.1 kB / 0.4992 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.1642, allocations: 184.1 kB / 0.4994 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1644, allocations: 109 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1645, allocations: 184.2 kB / 0.4996 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.1645, allocations: 109 kB / 0.4997 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.1646, allocations: 75.28 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1646, allocations: 0 / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.1653, allocations: 144 kB / 0.5 GB, free: 14.94 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.0008017/0.1662, allocations: 336.6 kB / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.1662, allocations: 4.516 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1663, allocations: 0 / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.1663, allocations: 3.938 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1667, allocations: 459.7 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.167, allocations: 156.1 kB / 0.5009 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1673, allocations: 0.6767 MB / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.1674, allocations: 0 / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.1674, allocations: 7.438 kB / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1674, allocations: 0 / 0.5015 GB, free: 13.25 MB / 398.1 MB Notification: Performance of Templates: time 0.008072/0.1755, allocations: 3.386 MB / 0.5048 GB, free: 9.863 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