Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009057/0.0009056, allocations: 94.45 kB / 18.01 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 206.2 kB / 18.94 MB, free: 4.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1955/0.1955, allocations: 46.2 MB / 345.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.0002469, allocations: 11.98 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1106, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0005465/0.1112, allocations: 213.4 kB / 483.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1141, allocations: 2.019 MB / 486 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-06/0.1141, allocations: 0 / 486 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.727e-06/0.1141, allocations: 0 / 486 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-06/0.1141, allocations: 4 kB / 486 MB, free: 1.887 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001497/0.1156, allocations: 469 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.468e-05/0.1157, allocations: 4 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.629e-05/0.1157, allocations: 4 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-06/0.1157, allocations: 0 / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.158e-05/0.1157, allocations: 0 / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.1157, allocations: 0 / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.117, allocations: 0.8926 MB / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-06/0.117, allocations: 4 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.1171, allocations: 25.7 kB / 487.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.1178, allocations: 0.5459 MB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1178, allocations: 4 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1179, allocations: 0 / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1179, allocations: 0 / 487.9 MB, free: 15.95 MB / 366.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.0004577/0.1183, allocations: 371.5 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1184, allocations: 12.88 kB / 488.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1184, allocations: 76.22 kB / 488.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1185, allocations: 235.7 kB / 488.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.1186, allocations: 158.9 kB / 488.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1187, allocations: 150.9 kB / 488.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.745e-05/0.1187, allocations: 109.2 kB / 489 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.1187, allocations: 75.28 kB / 489.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.1188, allocations: 154.6 kB / 489.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.1189, allocations: 154.5 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.1189, allocations: 154.6 kB / 489.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.1192, allocations: 442 kB / 490 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.1193, allocations: 169.1 kB / 490.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.1193, allocations: 80.14 kB / 490.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1194, allocations: 83.28 kB / 490.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.1194, allocations: 109.8 kB / 490.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1194, allocations: 0 / 490.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.358e-05/0.1195, allocations: 25.7 kB / 490.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.1196, allocations: 156.4 kB / 490.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.455e-05/0.1196, allocations: 97.78 kB / 490.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1196, allocations: 25.7 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1197, allocations: 88.14 kB / 490.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1197, allocations: 3.938 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.1197, allocations: 9.719 kB / 490.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.1198, allocations: 310.8 kB / 491.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.1198, allocations: 3.938 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.1198, allocations: 0 / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.1199, allocations: 75.28 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/0.1199, allocations: 75.28 kB / 491.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.294e-05/0.12, allocations: 33.73 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.12, allocations: 83.22 kB / 491.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.1201, allocations: 79.22 kB / 491.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.276e-05/0.1201, allocations: 154.6 kB / 491.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.1202, allocations: 83.31 kB / 491.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-05/0.1202, allocations: 158.5 kB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.1203, allocations: 79.28 kB / 491.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1203, allocations: 83.22 kB / 492 MB, free: 11.63 MB / 366.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.0001104/0.1204, allocations: 256.4 kB / 492.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.1205, allocations: 104.9 kB / 492.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1206, allocations: 116.1 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/0.1206, allocations: 180.2 kB / 492.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.89e-05/0.1207, allocations: 180.3 kB / 492.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/0.1208, allocations: 180.4 kB / 493 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.121, allocations: 401.2 kB / 493.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/0.121, allocations: 109 kB / 493.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1211, allocations: 104.9 kB / 493.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.807e-05/0.1211, allocations: 184.2 kB / 493.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.1212, allocations: 184.2 kB / 493.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.958e-05/0.1212, allocations: 180.2 kB / 494.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.237e-05/0.1213, allocations: 176.3 kB / 494.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1214, allocations: 311.8 kB / 494.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1215, allocations: 186 kB / 494.8 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.1216, allocations: 192.2 kB / 494.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.1217, allocations: 101 kB / 495 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.1217, allocations: 184.2 kB / 495.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.1218, allocations: 101 kB / 495.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.1218, allocations: 83.28 kB / 495.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.595e-06/0.1218, allocations: 0 / 495.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.1225, allocations: 151.9 kB / 495.6 MB, free: 7.824 MB / 366.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.0008263/0.1233, allocations: 337.3 kB / 495.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.176e-05/0.1233, allocations: 7.938 kB / 495.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1234, allocations: 0 / 495.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1234, allocations: 0 / 495.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1237, allocations: 0.5224 MB / 496.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001373/0.1239, allocations: 163.8 kB / 496.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1241, allocations: 0.6731 MB / 497.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.1241, allocations: 7.438 kB / 497.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1241, allocations: 0 / 497.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of Templates: time 0.005151/0.1293, allocations: 2.914 MB / 0.4884 GB, free: 3.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches