Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.6 MB / 243.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007888/0.000789, allocations: 96.67 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 44.82 MB / 392.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002397, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2731, allocations: 62.95 MB / 0.5159 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0004485/0.2736, allocations: 216.6 kB / 0.5161 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2756, allocations: 1.936 MB / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-06/0.2756, allocations: 2.594 kB / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-06/0.2756, allocations: 3.938 kB / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.2756, allocations: 0 / 0.518 GB, free: 35.48 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.001154/0.2768, allocations: 462.8 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 1.179e-05/0.2768, allocations: 8 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.447e-05/0.2769, allocations: 6.781 kB / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-06/0.2769, allocations: 0 / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.172e-05/0.2769, allocations: 0 / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-06/0.2769, allocations: 0 / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008915/0.2778, allocations: 0.8248 MB / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-06/0.2778, allocations: 0 / 0.5192 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.2778, allocations: 25.7 kB / 0.5193 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.2783, allocations: 0.5426 MB / 0.5198 GB, free: 35.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2783, allocations: 8 kB / 0.5198 GB, free: 35.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2783, allocations: 0 / 0.5198 GB, free: 35.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.2783, allocations: 0 / 0.5198 GB, free: 35.03 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.0002487/0.2785, allocations: 378.9 kB / 0.5202 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2786, allocations: 10.91 kB / 0.5202 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.2786, allocations: 80.16 kB / 0.5202 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.213e-05/0.2787, allocations: 235.7 kB / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2787, allocations: 162.9 kB / 0.5206 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.2787, allocations: 153.7 kB / 0.5208 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.02e-05/0.2788, allocations: 109.3 kB / 0.5209 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2788, allocations: 75.28 kB / 0.5209 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2788, allocations: 150.6 kB / 0.5211 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2789, allocations: 150.6 kB / 0.5212 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.2789, allocations: 164.9 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.279, allocations: 445.1 kB / 0.5218 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.2791, allocations: 165.1 kB / 0.522 GB, free: 32.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.2791, allocations: 80.14 kB / 0.522 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.2791, allocations: 81.81 kB / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2791, allocations: 109.8 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2792, allocations: 0 / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.593e-05/0.2792, allocations: 32.36 kB / 0.5223 GB, free: 32.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2793, allocations: 159.4 kB / 0.5224 GB, free: 32.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.371e-05/0.2793, allocations: 89.86 kB / 0.5225 GB, free: 32.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.2793, allocations: 25.7 kB / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.2793, allocations: 84.14 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.2793, allocations: 0 / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.2793, allocations: 0 / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2794, allocations: 314.5 kB / 0.5229 GB, free: 31.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.2794, allocations: 3.938 kB / 0.5229 GB, free: 31.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.2794, allocations: 0 / 0.5229 GB, free: 31.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.111e-05/0.2794, allocations: 75.28 kB / 0.523 GB, free: 31.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2794, allocations: 75.28 kB / 0.523 GB, free: 31.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.104e-05/0.2795, allocations: 32.67 kB / 0.5231 GB, free: 31.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2795, allocations: 91.84 kB / 0.5232 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2795, allocations: 79.22 kB / 0.5232 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.2795, allocations: 154.5 kB / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.199e-05/0.2796, allocations: 81.75 kB / 0.5235 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.2796, allocations: 150.6 kB / 0.5236 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.2796, allocations: 81.81 kB / 0.5237 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2797, allocations: 79.28 kB / 0.5238 GB, free: 30.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.2797, allocations: 262.4 kB / 0.524 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.2798, allocations: 108.9 kB / 0.5241 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.2798, allocations: 108.1 kB / 0.5242 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.2798, allocations: 179 kB / 0.5244 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/0.2798, allocations: 191.4 kB / 0.5246 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.2799, allocations: 176.3 kB / 0.5247 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.28, allocations: 403.3 kB / 0.5251 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.28, allocations: 105 kB / 0.5252 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.28, allocations: 103.6 kB / 0.5253 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.412e-05/0.2801, allocations: 188.1 kB / 0.5255 GB, free: 28.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2801, allocations: 176.6 kB / 0.5257 GB, free: 28.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/0.2801, allocations: 186.6 kB / 0.5259 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.13e-05/0.2801, allocations: 176.3 kB / 0.526 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.005e-05/0.2802, allocations: 306.3 kB / 0.5263 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.2802, allocations: 188.2 kB / 0.5265 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2803, allocations: 184.1 kB / 0.5267 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.2803, allocations: 104.1 kB / 0.5268 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.2804, allocations: 180.3 kB / 0.5269 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2804, allocations: 108.2 kB / 0.527 GB, free: 27.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.318e-05/0.2804, allocations: 75.28 kB / 0.5271 GB, free: 27.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2804, allocations: 4 kB / 0.5271 GB, free: 27.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004949/0.2809, allocations: 142.2 kB / 0.5273 GB, free: 27.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005778/0.2815, allocations: 341.6 kB / 0.5276 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.97e-05/0.2816, allocations: 6.531 kB / 0.5276 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2816, allocations: 0 / 0.5276 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.2816, allocations: 4 kB / 0.5276 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2818, allocations: 0.5208 MB / 0.5281 GB, free: 26.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001003/0.2819, allocations: 174 kB / 0.5283 GB, free: 26.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.282, allocations: 0.6692 MB / 0.5289 GB, free: 25.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-06/0.282, allocations: 10.44 kB / 0.5289 GB, free: 25.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.282, allocations: 0 / 0.5289 GB, free: 25.5 MB / 378.7 MB Notification: Performance of Templates: time 0.00402/0.2861, allocations: 2.904 MB / 0.5318 GB, free: 25.28 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches