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.001565/0.001565, allocations: 109.9 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 207.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 92.11 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 62.45 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001585/0.1155, allocations: 491.8 kB / 481.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1185, allocations: 2.042 MB / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-06/0.1185, allocations: 0 / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.546e-06/0.1185, allocations: 0 / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.493e-06/0.1186, allocations: 4 kB / 483.3 MB, free: 2.699 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760: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.001524/0.1201, allocations: 0.5019 MB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.364e-05/0.1201, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.1201, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-06/0.1202, allocations: 0 / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.061e-05/0.1202, allocations: 4 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.1202, allocations: 0 / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1215, allocations: 0.9083 MB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1215, allocations: 0 / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-06/0.1215, allocations: 0 / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009655/0.1225, allocations: 0.7992 MB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1225, allocations: 4 kB / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1225, allocations: 0 / 485.5 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1225, allocations: 0 / 485.5 MB, free: 492 kB / 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.0004155/0.123, allocations: 377.9 kB / 485.9 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.123, allocations: 12.03 kB / 485.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.1231, allocations: 80.22 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1232, allocations: 239.7 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.1233, allocations: 150.9 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1234, allocations: 150.9 kB / 486.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.1235, allocations: 105.3 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.1235, allocations: 75.28 kB / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.1236, allocations: 158.6 kB / 486.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.1237, allocations: 158.4 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.1237, allocations: 154.5 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.124, allocations: 442 kB / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.1241, allocations: 169.1 kB / 487.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.1242, allocations: 84.14 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1242, allocations: 79.28 kB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.1243, allocations: 113.7 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1243, allocations: 0 / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.385e-05/0.1244, allocations: 33.75 kB / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.1245, allocations: 156.4 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.858e-05/0.1245, allocations: 93.84 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1246, allocations: 25.7 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1246, allocations: 84.14 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1246, allocations: 0 / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.1246, allocations: 9.719 kB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1248, allocations: 314.8 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.1248, allocations: 0 / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.1248, allocations: 8 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.1248, allocations: 83.22 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.1249, allocations: 75.28 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.193e-05/0.1249, allocations: 25.7 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.125, allocations: 87.22 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.125, allocations: 79.28 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.508e-05/0.1251, allocations: 158.5 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.1251, allocations: 79.31 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-05/0.1252, allocations: 158.5 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.1253, allocations: 75.28 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.1253, allocations: 75.28 kB / 489.6 MB, free: 12.16 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.0001431/0.1255, allocations: 264.4 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.1256, allocations: 112.9 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1256, allocations: 108.1 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.711e-05/0.1257, allocations: 180.2 kB / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.778e-05/0.1258, allocations: 180.3 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/0.1259, allocations: 176.3 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1261, allocations: 405.2 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.1262, allocations: 105 kB / 491.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.1263, allocations: 112.9 kB / 491.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-05/0.1263, allocations: 184.2 kB / 491.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.1264, allocations: 176.3 kB / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.837e-05/0.1265, allocations: 184.2 kB / 491.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.716e-05/0.1266, allocations: 188.3 kB / 491.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1268, allocations: 295.8 kB / 492.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.1269, allocations: 190 kB / 492.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.1269, allocations: 188.1 kB / 492.6 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.127, allocations: 101 kB / 492.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.1271, allocations: 188.2 kB / 492.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.1272, allocations: 101 kB / 492.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.1272, allocations: 75.28 kB / 493 MB, free: 8.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 0 / 493 MB, free: 8.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.1278, allocations: 148 kB / 493.2 MB, free: 8.352 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.0007318/0.1286, allocations: 351.7 kB / 493.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.779e-05/0.1286, allocations: 3.938 kB / 493.5 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1286, allocations: 0 / 493.5 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.1286, allocations: 0 / 493.5 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.129, allocations: 459.7 kB / 494 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000167/0.1292, allocations: 177.9 kB / 494.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1295, allocations: 0.6767 MB / 494.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.1295, allocations: 11.44 kB / 494.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1295, allocations: 0 / 494.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of Templates: time 0.005455/0.135, allocations: 2.948 MB / 497.8 MB, free: 3.684 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