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.001171/0.001171, allocations: 107.2 kB / 17.09 MB, free: 5.977 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.001142/0.001142, allocations: 195.3 kB / 18.02 MB, free: 5.062 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.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2199/0.2199, allocations: 43.54 MB / 314.8 MB, free: 456 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.002307/0.002307, allocations: 67.91 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1365, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00178/0.1383, allocations: 498.6 kB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1415, allocations: 2.025 MB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-06/0.1415, allocations: 0 / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.446e-06/0.1416, allocations: 0 / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.417e-06/0.1416, allocations: 0 / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1433, allocations: 0.5025 MB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.585e-05/0.1433, allocations: 4 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.616e-05/0.1433, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-06/0.1433, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-06/0.1434, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-06/0.1434, allocations: 0 / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.1448, allocations: 0.8888 MB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.1448, allocations: 4 kB / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.1449, allocations: 0 / 0.4924 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.146, allocations: 0.7757 MB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.146, allocations: 0 / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.146, allocations: 0 / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.146, allocations: 0 / 0.4931 GB, free: 7.105 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.0004732/0.1465, allocations: 383.5 kB / 0.4935 GB, free: 6.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1466, allocations: 11.89 kB / 0.4935 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1466, allocations: 84.2 kB / 0.4936 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1467, allocations: 235.7 kB / 0.4938 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.1468, allocations: 154.9 kB / 0.4939 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.1468, allocations: 154.9 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.582e-05/0.1469, allocations: 105.3 kB / 0.4942 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.1469, allocations: 83.27 kB / 0.4943 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.147, allocations: 158.6 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.147, allocations: 150.6 kB / 0.4946 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.1471, allocations: 154.5 kB / 0.4947 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1474, allocations: 445.9 kB / 0.4951 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1475, allocations: 177.1 kB / 0.4953 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.1475, allocations: 80.14 kB / 0.4954 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1476, allocations: 75.28 kB / 0.4955 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.1476, allocations: 109.8 kB / 0.4956 GB, free: 4.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1476, allocations: 3.938 kB / 0.4956 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.726e-05/0.1477, allocations: 29.7 kB / 0.4956 GB, free: 4.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1478, allocations: 85.11 kB / 0.4957 GB, free: 4.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.384e-05/0.1478, allocations: 89.86 kB / 0.4958 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1478, allocations: 29.64 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.1479, allocations: 80.14 kB / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1479, allocations: 0 / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.148, allocations: 13.72 kB / 0.4959 GB, free: 4.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1481, allocations: 318.8 kB / 0.4962 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-06/0.1482, allocations: 0 / 0.4962 GB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.1482, allocations: 4 kB / 0.4962 GB, free: 3.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.1482, allocations: 75.28 kB / 0.4963 GB, free: 3.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-05/0.1483, allocations: 75.28 kB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.499e-05/0.1483, allocations: 33.64 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.1484, allocations: 79.28 kB / 0.4964 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.1484, allocations: 79.22 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.1485, allocations: 154.5 kB / 0.4967 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.1485, allocations: 87.36 kB / 0.4967 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.925e-05/0.1486, allocations: 154.5 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1487, allocations: 83.22 kB / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1488, allocations: 75.28 kB / 0.497 GB, free: 2.836 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.0001342/0.1489, allocations: 264.3 kB / 0.4973 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.149, allocations: 104.9 kB / 0.4974 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.149, allocations: 112 kB / 0.4975 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.316e-05/0.1491, allocations: 192.2 kB / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.1491, allocations: 104.9 kB / 0.4978 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1492, allocations: 178.1 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.1493, allocations: 184.2 kB / 0.4981 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.1494, allocations: 101 kB / 0.4982 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.1494, allocations: 184.2 kB / 0.4984 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.609e-05/0.1495, allocations: 259.5 kB / 0.4986 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002012/0.1497, allocations: 379 kB / 0.499 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.845e-05/0.1498, allocations: 105 kB / 0.4991 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.1499, allocations: 83.27 kB / 0.4992 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Backend: time 2.51e-07/0.1499, allocations: 0 / 0.4992 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1509, allocations: 244.7 kB / 0.4994 GB, free: 268 kB / 382.1 MB Notification: Performance of SimCode: time 0.0005207/0.1514, allocations: 0.9161 MB / 0.5003 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Templates: time 0.006839/0.1583, allocations: 3.374 MB / 0.5036 GB, free: 11.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches