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.00111/0.00111, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001174/0.001174, allocations: 194 kB / 18.77 MB, free: 4.742 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.337/1.337, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.1987/0.1987, allocations: 44.17 MB / 336.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.39 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 60.84 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001635/0.1066, allocations: 0.5372 MB / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1093, allocations: 2.007 MB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-06/0.1093, allocations: 0 / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.572e-06/0.1093, allocations: 0 / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.1093, allocations: 0 / 471.7 MB, free: 12.28 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.001325/0.1107, allocations: 470 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.248e-05/0.1107, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.612e-05/0.1107, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-06/0.1107, allocations: 4 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-06/0.1108, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-06/0.1108, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1119, allocations: 0.8732 MB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-06/0.1119, allocations: 3.938 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.1119, allocations: 0 / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.1125, allocations: 0.5498 MB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1125, allocations: 0 / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1125, allocations: 0 / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1125, allocations: 4 kB / 473.6 MB, free: 10.39 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.0003408/0.1129, allocations: 375.5 kB / 474 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1129, allocations: 12.03 kB / 474 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.113, allocations: 76.22 kB / 474.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1131, allocations: 235.7 kB / 474.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.1131, allocations: 150.9 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.1132, allocations: 154.9 kB / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.743e-05/0.1133, allocations: 105.3 kB / 474.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.1133, allocations: 75.28 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1134, allocations: 154.6 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/0.1134, allocations: 158.5 kB / 475.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.1135, allocations: 154.6 kB / 475.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1137, allocations: 442 kB / 475.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.1138, allocations: 165.1 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.1139, allocations: 84.14 kB / 475.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1139, allocations: 79.28 kB / 476 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1139, allocations: 117.7 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1139, allocations: 0 / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.374e-05/0.114, allocations: 25.7 kB / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.1141, allocations: 152.4 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.1141, allocations: 93.84 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1141, allocations: 25.7 kB / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.1142, allocations: 88.08 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.1142, allocations: 0 / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.1142, allocations: 13.72 kB / 476.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1143, allocations: 314.8 kB / 476.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.1143, allocations: 0 / 476.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.1144, allocations: 4 kB / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.1144, allocations: 79.22 kB / 476.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.1144, allocations: 75.28 kB / 476.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.834e-05/0.1145, allocations: 25.7 kB / 477 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.1145, allocations: 87.22 kB / 477.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.1145, allocations: 87.25 kB / 477.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.99e-05/0.1146, allocations: 158.5 kB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.1146, allocations: 75.28 kB / 477.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-05/0.1147, allocations: 162.5 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.1148, allocations: 75.28 kB / 477.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1148, allocations: 79.28 kB / 477.7 MB, free: 6.074 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.000106/0.1149, allocations: 264.9 kB / 477.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.115, allocations: 112.8 kB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.115, allocations: 108.1 kB / 478.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-05/0.1151, allocations: 180.2 kB / 478.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.055e-05/0.1151, allocations: 184.3 kB / 478.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/0.1152, allocations: 180.3 kB / 478.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.1154, allocations: 401.4 kB / 479.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.1155, allocations: 101 kB / 479.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1155, allocations: 113 kB / 479.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/0.1156, allocations: 180.2 kB / 479.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.1157, allocations: 184.3 kB / 479.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.284e-05/0.1157, allocations: 184.2 kB / 479.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.804e-05/0.1158, allocations: 180.3 kB / 480 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1159, allocations: 303.8 kB / 480.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.116, allocations: 186.1 kB / 480.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.1161, allocations: 188.1 kB / 480.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.1162, allocations: 101 kB / 480.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.1162, allocations: 184.2 kB / 480.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.1163, allocations: 101 kB / 481 MB, free: 2.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.432e-05/0.1163, allocations: 75.28 kB / 481.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1163, allocations: 0 / 481.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.1169, allocations: 152 kB / 481.3 MB, free: 2.266 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.000693/0.1176, allocations: 340.6 kB / 481.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.567e-05/0.1176, allocations: 7.938 kB / 481.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1177, allocations: 4 kB / 481.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1177, allocations: 0 / 481.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.118, allocations: 0.5209 MB / 482.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001396/0.1182, allocations: 171.8 kB / 482.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1184, allocations: 0.6692 MB / 483 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.1184, allocations: 11.44 kB / 483 MB, free: 500 kB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1184, allocations: 0 / 483 MB, free: 500 kB / 350.1 MB Notification: Performance of Templates: time 0.005083/0.1235, allocations: 2.92 MB / 485.9 MB, free: 13.57 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 -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