Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.00112, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001128/0.001128, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 72.67 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001632/0.1142, allocations: 478.9 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.1168, allocations: 2 MB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-06/0.1168, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-06/0.1168, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.1168, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1182, allocations: 0.5047 MB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.671e-05/0.1182, allocations: 0 / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.1183, allocations: 7.938 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-06/0.1183, allocations: 0 / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.191e-05/0.1183, allocations: 3.984 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-06/0.1183, allocations: 4 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1195, allocations: 0.8771 MB / 474.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.1195, allocations: 3.984 kB / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-06/0.1195, allocations: 0 / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.1203, allocations: 0.7836 MB / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1204, allocations: 0 / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1204, allocations: 0 / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1204, allocations: 4 kB / 475.4 MB, free: 8.961 MB / 350.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.0003808/0.1208, allocations: 375.5 kB / 475.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1208, allocations: 8.031 kB / 475.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.1209, allocations: 76.22 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.121, allocations: 239.7 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.1211, allocations: 158.9 kB / 476.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1211, allocations: 154.9 kB / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.884e-05/0.1212, allocations: 109.3 kB / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1212, allocations: 79.28 kB / 476.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.1213, allocations: 150.6 kB / 476.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.1214, allocations: 150.6 kB / 476.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.1214, allocations: 150.6 kB / 477 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.1217, allocations: 450 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1218, allocations: 169.1 kB / 477.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.1218, allocations: 84.08 kB / 477.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1219, allocations: 75.28 kB / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/0.1219, allocations: 109.8 kB / 477.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1219, allocations: 4 kB / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.51e-05/0.122, allocations: 41.69 kB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.1221, allocations: 156.3 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.856e-05/0.1222, allocations: 89.86 kB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1222, allocations: 25.7 kB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.1222, allocations: 80.14 kB / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.1222, allocations: 0 / 478.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.1223, allocations: 13.72 kB / 478.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1224, allocations: 314.8 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.1224, allocations: 0 / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.1224, allocations: 0 / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.1224, allocations: 75.28 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/0.1225, allocations: 75.28 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.25e-05/0.1225, allocations: 33.75 kB / 478.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.1226, allocations: 87.2 kB / 478.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.1226, allocations: 87.22 kB / 478.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-05/0.1227, allocations: 158.6 kB / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/0.1227, allocations: 83.16 kB / 479.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.788e-05/0.1227, allocations: 150.6 kB / 479.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.1228, allocations: 75.28 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1228, allocations: 83.22 kB / 479.4 MB, free: 4.633 MB / 350.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.0001181/0.123, allocations: 264.4 kB / 479.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.123, allocations: 108.9 kB / 479.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1231, allocations: 112 kB / 479.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.1231, allocations: 176.3 kB / 480.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.1232, allocations: 176.3 kB / 480.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.834e-05/0.1233, allocations: 180.2 kB / 480.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1235, allocations: 409.2 kB / 480.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.1235, allocations: 104.9 kB / 480.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1236, allocations: 101 kB / 481 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.973e-05/0.1236, allocations: 180.2 kB / 481.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.1237, allocations: 188.2 kB / 481.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.764e-05/0.1237, allocations: 184.3 kB / 481.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.907e-05/0.1238, allocations: 184.2 kB / 481.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1239, allocations: 303.8 kB / 482 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.124, allocations: 178.1 kB / 482.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.1241, allocations: 188.2 kB / 482.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1241, allocations: 108.9 kB / 482.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.1242, allocations: 176.3 kB / 482.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.1243, allocations: 116.8 kB / 482.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.423e-05/0.1243, allocations: 75.28 kB / 482.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1243, allocations: 0 / 482.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.1248, allocations: 144 kB / 483 MB, free: 0.8281 MB / 350.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.0006516/0.1255, allocations: 344.6 kB / 483.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.924e-05/0.1255, allocations: 0 / 483.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1255, allocations: 4 kB / 483.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1255, allocations: 0 / 483.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1259, allocations: 455.7 kB / 483.8 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.1261, allocations: 156.2 kB / 483.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1263, allocations: 0.6729 MB / 484.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.875e-06/0.1263, allocations: 0 / 484.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1263, allocations: 15.44 kB / 484.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1263, allocations: 0 / 484.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.006182/0.1325, allocations: 3.379 MB / 488 MB, free: 11.77 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches