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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001134, allocations: 100.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3282/0.3282, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.313, allocations: 62.01 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001385/0.3144, allocations: 0.5542 MB / 0.5157 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3165, allocations: 2.043 MB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-06/0.3165, allocations: 3.938 kB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-06/0.3165, allocations: 0 / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.403e-06/0.3165, allocations: 0 / 0.5177 GB, free: 35.96 MB / 378.7 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.001162/0.3177, allocations: 462.8 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.659e-05/0.3177, allocations: 3.938 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.447e-05/0.3177, allocations: 6.875 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-06/0.3177, allocations: 0 / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-06/0.3177, allocations: 4 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.3178, allocations: 0 / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.3187, allocations: 0.8895 MB / 0.519 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-06/0.3187, allocations: 0 / 0.519 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.263e-05/0.3188, allocations: 0 / 0.519 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.3195, allocations: 0.7873 MB / 0.5198 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3195, allocations: 0 / 0.5198 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3195, allocations: 0 / 0.5198 GB, free: 35.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3195, allocations: 0 / 0.5198 GB, free: 35.43 MB / 378.7 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.0002623/0.3198, allocations: 383.5 kB / 0.5201 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3198, allocations: 8.594 kB / 0.5201 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3198, allocations: 79.16 kB / 0.5202 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.471e-05/0.3199, allocations: 243 kB / 0.5205 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3199, allocations: 150.9 kB / 0.5206 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.32, allocations: 154.9 kB / 0.5207 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.712e-05/0.32, allocations: 117.3 kB / 0.5209 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.32, allocations: 75.28 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3201, allocations: 153.4 kB / 0.5211 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3201, allocations: 154.5 kB / 0.5212 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.3201, allocations: 150.6 kB / 0.5214 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3203, allocations: 442 kB / 0.5218 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.3203, allocations: 179.2 kB / 0.522 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.3204, allocations: 80.14 kB / 0.522 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3204, allocations: 75.28 kB / 0.5221 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3204, allocations: 113.7 kB / 0.5222 GB, free: 32.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3204, allocations: 4 kB / 0.5222 GB, free: 32.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.027e-05/0.3205, allocations: 28.52 kB / 0.5222 GB, free: 32.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3205, allocations: 152.4 kB / 0.5224 GB, free: 32.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.597e-05/0.3206, allocations: 89.86 kB / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.3206, allocations: 25.7 kB / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.3206, allocations: 86.92 kB / 0.5226 GB, free: 32.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.3206, allocations: 0 / 0.5226 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.3206, allocations: 13.05 kB / 0.5226 GB, free: 32.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.3207, allocations: 318.8 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-06/0.3207, allocations: 2.938 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.3207, allocations: 0 / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.113e-05/0.3207, allocations: 75.28 kB / 0.523 GB, free: 31.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3207, allocations: 79.22 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.043e-05/0.3208, allocations: 28.61 kB / 0.5231 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3208, allocations: 88.81 kB / 0.5232 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3208, allocations: 75.31 kB / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.3209, allocations: 161.4 kB / 0.5234 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-05/0.3209, allocations: 78.16 kB / 0.5235 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.3209, allocations: 158.5 kB / 0.5236 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.321, allocations: 75.28 kB / 0.5237 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.321, allocations: 82.08 kB / 0.5238 GB, free: 31.16 MB / 378.7 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 5.653e-05/0.321, allocations: 264.7 kB / 0.524 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.3211, allocations: 111.8 kB / 0.5241 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3211, allocations: 104.1 kB / 0.5242 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.3211, allocations: 188.2 kB / 0.5244 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.3212, allocations: 179.1 kB / 0.5246 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.3212, allocations: 183.3 kB / 0.5247 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3213, allocations: 400 kB / 0.5251 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.3213, allocations: 104.4 kB / 0.5252 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.3214, allocations: 108.9 kB / 0.5253 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/0.3214, allocations: 183.1 kB / 0.5255 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3214, allocations: 176.6 kB / 0.5257 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.51e-05/0.3214, allocations: 184.2 kB / 0.5259 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.66e-05/0.3215, allocations: 182.8 kB / 0.526 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3217, allocations: 0.8461 MB / 0.5269 GB, free: 27.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.3217, allocations: 182.1 kB / 0.527 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3218, allocations: 183.1 kB / 0.5272 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.3219, allocations: 108.2 kB / 0.5273 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3219, allocations: 187.1 kB / 0.5275 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3219, allocations: 104.9 kB / 0.5276 GB, free: 27.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.87e-05/0.3219, allocations: 75.28 kB / 0.5277 GB, free: 26.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 0.5277 GB, free: 26.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006708/0.3226, allocations: 149.5 kB / 0.5278 GB, free: 26.93 MB / 378.7 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.0006745/0.3233, allocations: 346.6 kB / 0.5281 GB, free: 26.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.23e-05/0.3234, allocations: 3.938 kB / 0.5281 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3234, allocations: 0 / 0.5281 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.3234, allocations: 0 / 0.5281 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3236, allocations: 0.5173 MB / 0.5286 GB, free: 26.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001241/0.3237, allocations: 158.5 kB / 0.5288 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3239, allocations: 0.6692 MB / 0.5294 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.805e-06/0.3239, allocations: 3.938 kB / 0.5294 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-06/0.3239, allocations: 10.06 kB / 0.5295 GB, free: 25.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3239, allocations: 0 / 0.5295 GB, free: 25.31 MB / 378.7 MB Notification: Performance of Templates: time 0.005256/0.3291, allocations: 3.38 MB / 0.5328 GB, free: 25.1 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches