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.001218/0.001219, allocations: 105 kB / 16.27 MB, free: 5.93 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.001408/0.001408, allocations: 189.9 kB / 17.2 MB, free: 5.574 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.591/1.591, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2088/0.2088, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001709/0.001709, allocations: 67.03 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1099, allocations: 57.8 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001751/0.1117, allocations: 493.5 kB / 441 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1142, allocations: 2.018 MB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-06/0.1142, allocations: 0 / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-06/0.1142, allocations: 0 / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.323e-06/0.1142, allocations: 4 kB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.116, allocations: 0.5134 MB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.316e-05/0.116, allocations: 4 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.116, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-06/0.1161, allocations: 0 / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.082e-05/0.1161, allocations: 3.984 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-06/0.1161, allocations: 0 / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.1172, allocations: 0.8732 MB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.1173, allocations: 3.984 kB / 444.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.1173, allocations: 8 kB / 444.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.1182, allocations: 0.7877 MB / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1182, allocations: 0 / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1182, allocations: 0 / 445.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1182, allocations: 0 / 445.2 MB, free: 2.195 MB / 318.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.00037/0.1186, allocations: 378.6 kB / 445.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1187, allocations: 11.89 kB / 445.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.1187, allocations: 76.22 kB / 445.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/0.1188, allocations: 239.7 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1188, allocations: 154.9 kB / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1188, allocations: 158.9 kB / 446.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.768e-05/0.1189, allocations: 109.2 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1189, allocations: 75.28 kB / 446.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1189, allocations: 150.6 kB / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.119, allocations: 154.6 kB / 446.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.119, allocations: 150.6 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.1192, allocations: 445.9 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.1193, allocations: 173.1 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.1193, allocations: 84.14 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1194, allocations: 75.28 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.1194, allocations: 113.7 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1195, allocations: 0 / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.94e-05/0.1195, allocations: 33.7 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1197, allocations: 156.3 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.1197, allocations: 89.86 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1197, allocations: 29.7 kB / 448 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.1198, allocations: 84.12 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1198, allocations: 0 / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1198, allocations: 13.72 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.12, allocations: 310.8 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-06/0.12, allocations: 0 / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.12, allocations: 0 / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.1201, allocations: 75.28 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.754e-05/0.1201, allocations: 79.31 kB / 448.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.52e-05/0.1202, allocations: 29.7 kB / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.1202, allocations: 83.22 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.1203, allocations: 83.22 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.862e-05/0.1204, allocations: 154.7 kB / 448.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.514e-05/0.1204, allocations: 87.22 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.359e-05/0.1205, allocations: 150.6 kB / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.1206, allocations: 79.28 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.1206, allocations: 87.27 kB / 449.3 MB, free: 13.87 MB / 334.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.0001401/0.1208, allocations: 264.3 kB / 449.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.1208, allocations: 104.9 kB / 449.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.1209, allocations: 112 kB / 449.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-05/0.121, allocations: 184.3 kB / 449.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.117e-05/0.1211, allocations: 176.3 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.298e-05/0.1212, allocations: 180.2 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1215, allocations: 405.2 kB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.311e-05/0.1215, allocations: 104.9 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1216, allocations: 101 kB / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.1216, allocations: 184.2 kB / 451.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.1217, allocations: 188.1 kB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.952e-05/0.1218, allocations: 184.2 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.932e-05/0.1219, allocations: 184.2 kB / 451.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1221, allocations: 303.8 kB / 451.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.1222, allocations: 186 kB / 452.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1223, allocations: 188.2 kB / 452.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.1224, allocations: 108.9 kB / 452.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1225, allocations: 176.3 kB / 452.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.1226, allocations: 108.9 kB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.1226, allocations: 75.28 kB / 452.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1226, allocations: 0 / 452.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008615/0.1235, allocations: 152 kB / 452.9 MB, free: 10.05 MB / 334.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.00111/0.1246, allocations: 337.3 kB / 453.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.1247, allocations: 0 / 453.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1247, allocations: 0 / 453.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.1247, allocations: 0 / 453.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1252, allocations: 458.5 kB / 453.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.1254, allocations: 156.3 kB / 453.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1257, allocations: 0.6728 MB / 454.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.098e-05/0.1257, allocations: 0 / 454.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.1257, allocations: 7.438 kB / 454.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1257, allocations: 0 / 454.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.008223/0.1339, allocations: 3.389 MB / 457.9 MB, free: 4.996 MB / 334.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