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.0008591/0.0008591, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008051/0.000805, allocations: 94.33 kB / 271.2 MB, free: 8.258 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.3676/0.3676, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 12 kB / 432 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 58.86 MB / 490.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006546/0.1197, allocations: 224.3 kB / 491 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1221, allocations: 1.93 MB / 493 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-06/0.1222, allocations: 0 / 493 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-06/0.1222, allocations: 3.938 kB / 493 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.1222, allocations: 0 / 493 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1235, allocations: 458.8 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.297e-05/0.1235, allocations: 4 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.1235, allocations: 7.984 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-06/0.1236, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.366e-05/0.1236, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-06/0.1236, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.1247, allocations: 0.8303 MB / 494.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.1247, allocations: 0 / 494.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.1248, allocations: 25.7 kB / 494.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.1254, allocations: 0.5498 MB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1254, allocations: 0 / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1254, allocations: 0 / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1254, allocations: 0 / 494.8 MB, free: 6.645 MB / 378.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.0003647/0.1258, allocations: 375.6 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1258, allocations: 12.03 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1259, allocations: 76.22 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.126, allocations: 239.7 kB / 495.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.1261, allocations: 158.9 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.1261, allocations: 150.9 kB / 495.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.336e-05/0.1262, allocations: 109.2 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1262, allocations: 79.28 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.1262, allocations: 150.6 kB / 496.2 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.1263, allocations: 158.5 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.1264, allocations: 154.6 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.1266, allocations: 445.9 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.1267, allocations: 169.1 kB / 497.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.1267, allocations: 80.14 kB / 497.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1267, allocations: 79.28 kB / 497.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1268, allocations: 117.8 kB / 497.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1268, allocations: 0 / 497.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 4.628e-05/0.1268, allocations: 33.62 kB / 497.4 MB, free: 3.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1269, allocations: 152.4 kB / 497.5 MB, free: 3.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.705e-05/0.1269, allocations: 89.86 kB / 497.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.127, allocations: 25.7 kB / 497.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.127, allocations: 84.14 kB / 497.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.127, allocations: 4 kB / 497.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-07/0.127, allocations: 0 / 497.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1271, allocations: 314.8 kB / 498 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-06/0.1271, allocations: 0 / 498 MB, free: 3.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-06/0.1271, allocations: 0 / 498 MB, free: 3.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.1272, allocations: 75.28 kB / 498.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/0.1272, allocations: 75.28 kB / 498.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.838e-05/0.1272, allocations: 37.67 kB / 498.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.1273, allocations: 87.2 kB / 498.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.1273, allocations: 75.28 kB / 498.4 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.1274, allocations: 154.6 kB / 498.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.308e-05/0.1274, allocations: 79.22 kB / 498.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.311e-05/0.1275, allocations: 150.6 kB / 498.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.1275, allocations: 83.22 kB / 498.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1276, allocations: 83.28 kB / 498.9 MB, free: 2.336 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1277, allocations: 260.4 kB / 499.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1277, allocations: 108.9 kB / 499.3 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.1278, allocations: 116.1 kB / 499.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.597e-05/0.1279, allocations: 176.3 kB / 499.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.1279, allocations: 188.2 kB / 499.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/0.128, allocations: 176.3 kB / 499.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1282, allocations: 401.5 kB / 0.4886 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/0.1283, allocations: 104.9 kB / 0.4887 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1283, allocations: 109 kB / 0.4888 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-05/0.1284, allocations: 192.1 kB / 0.489 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.1284, allocations: 184.2 kB / 0.4891 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-05/0.1285, allocations: 180.2 kB / 0.4893 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.222/0.3505, allocations: 180.2 kB / 0.4895 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.3506, allocations: 303.1 kB / 0.4898 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.3506, allocations: 182.5 kB / 0.4899 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.3507, allocations: 181.3 kB / 0.4901 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.3508, allocations: 110 kB / 0.4902 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.3508, allocations: 184.7 kB / 0.4904 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3508, allocations: 102.4 kB / 0.4905 GB, free: 42.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.647e-05/0.3508, allocations: 76.09 kB / 0.4906 GB, free: 42.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3508, allocations: 0 / 0.4906 GB, free: 42.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000737/0.3516, allocations: 144.3 kB / 0.4907 GB, free: 42.11 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 () * 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 (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.0006565/0.3523, allocations: 329.2 kB / 0.491 GB, free: 41.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.3523, allocations: 2.781 kB / 0.491 GB, free: 41.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3523, allocations: 3.844 kB / 0.491 GB, free: 41.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3523, allocations: 1.031 kB / 0.491 GB, free: 41.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3526, allocations: 0.5183 MB / 0.4915 GB, free: 41.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001072/0.3527, allocations: 180.2 kB / 0.4917 GB, free: 41.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.599e-05/0.3528, allocations: 0.6702 MB / 0.4924 GB, free: 40.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-06/0.3528, allocations: 8.625 kB / 0.4924 GB, free: 40.53 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3528, allocations: 0.9688 kB / 0.4924 GB, free: 40.53 MB / 378.7 MB Notification: Performance of Templates: time 0.005035/0.3579, allocations: 2.914 MB / 0.4952 GB, free: 40.34 MB / 378.7 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/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_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches