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.001186/0.001186, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 77.12 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001419/0.1125, allocations: 486.8 kB / 481.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.115, allocations: 2.03 MB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-06/0.115, allocations: 3.938 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-06/0.115, allocations: 0 / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.212e-06/0.115, allocations: 0 / 484 MB, free: 2 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.001381/0.1164, allocations: 0.5195 MB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.248e-05/0.1164, allocations: 4 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.431e-05/0.1164, allocations: 3.984 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-06/0.1165, allocations: 0 / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-06/0.1165, allocations: 0 / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-06/0.1165, allocations: 0 / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1176, allocations: 0.9005 MB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-06/0.1176, allocations: 0 / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.1177, allocations: 0 / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.1185, allocations: 0.7952 MB / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1185, allocations: 0 / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1185, allocations: 4 kB / 486.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1185, allocations: 0 / 486.2 MB, free: 15.78 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.0003289/0.1189, allocations: 371.6 kB / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1189, allocations: 8.031 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.119, allocations: 84.22 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1191, allocations: 239.7 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.1191, allocations: 150.9 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.1192, allocations: 154.9 kB / 487.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.886e-05/0.1193, allocations: 105.3 kB / 487.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.1193, allocations: 75.28 kB / 487.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.1194, allocations: 154.6 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.1194, allocations: 150.6 kB / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.1195, allocations: 154.5 kB / 487.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.1197, allocations: 449.9 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.1198, allocations: 173.1 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.1198, allocations: 84.14 kB / 488.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1199, allocations: 75.28 kB / 488.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.1199, allocations: 113.8 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1199, allocations: 4 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.126e-05/0.12, allocations: 29.75 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.12, allocations: 160.3 kB / 488.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.1201, allocations: 93.84 kB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1201, allocations: 25.7 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.1201, allocations: 80.14 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.1201, allocations: 0 / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1202, allocations: 13.72 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1203, allocations: 314.8 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.1203, allocations: 0 / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.1203, allocations: 4 kB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.1203, allocations: 75.28 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/0.1204, allocations: 75.28 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.02e-05/0.1204, allocations: 33.7 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.1205, allocations: 83.22 kB / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.1205, allocations: 83.22 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.936e-05/0.1206, allocations: 154.5 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.1206, allocations: 83.25 kB / 490 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.106e-05/0.1206, allocations: 150.6 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.1207, allocations: 79.28 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1207, allocations: 79.22 kB / 490.3 MB, free: 11.46 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 9.891e-05/0.1208, allocations: 260.4 kB / 490.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.1209, allocations: 108.9 kB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.121, allocations: 116 kB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/0.121, allocations: 176.3 kB / 490.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.775e-05/0.1211, allocations: 180.3 kB / 491.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.795e-05/0.1211, allocations: 180.2 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.1214, allocations: 409.2 kB / 491.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.1214, allocations: 108.9 kB / 491.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1214, allocations: 105 kB / 491.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.1215, allocations: 184.2 kB / 492.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.1216, allocations: 184.1 kB / 492.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/0.1216, allocations: 184.2 kB / 492.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.028e-05/0.1217, allocations: 184.2 kB / 492.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1218, allocations: 299.8 kB / 492.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.1219, allocations: 186.1 kB / 493.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.122, allocations: 184.2 kB / 493.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.122, allocations: 104.9 kB / 493.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.1221, allocations: 180.3 kB / 493.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.1221, allocations: 108.9 kB / 493.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.55e-05/0.1222, allocations: 75.28 kB / 493.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1222, allocations: 0 / 493.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.1227, allocations: 144 kB / 493.8 MB, free: 7.652 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.0006385/0.1233, allocations: 346.8 kB / 494.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.47e-05/0.1234, allocations: 0 / 494.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1234, allocations: 0 / 494.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.1234, allocations: 0 / 494.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1237, allocations: 459.7 kB / 494.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001384/0.1239, allocations: 156.2 kB / 494.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1241, allocations: 0.669 MB / 495.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.598e-06/0.1241, allocations: 3.984 kB / 495.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.1241, allocations: 11.44 kB / 495.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1241, allocations: 3.938 kB / 495.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of Templates: time 0.006253/0.1304, allocations: 3.385 MB / 498.9 MB, free: 2.578 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 -s gbode -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