Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 182.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 60.82 MB / 0.5195 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001705/0.376, allocations: 0.493 MB / 0.52 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3786, allocations: 1.983 MB / 0.522 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-06/0.3787, allocations: 0 / 0.522 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.398e-06/0.3787, allocations: 0 / 0.522 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.3787, allocations: 0 / 0.522 GB, free: 1.914 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001701/0.3804, allocations: 0.5184 MB / 0.5225 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.59e-05/0.3804, allocations: 5.344 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.679e-05/0.3805, allocations: 4.75 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-06/0.3805, allocations: 1.406 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.068e-05/0.3805, allocations: 0 / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-06/0.3805, allocations: 3.938 kB / 0.5225 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.3819, allocations: 0.8778 MB / 0.5233 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-06/0.3819, allocations: 1.281 kB / 0.5233 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.382, allocations: 4.594 kB / 0.5234 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.383, allocations: 0.7797 MB / 0.5241 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.383, allocations: 1.344 kB / 0.5241 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.383, allocations: 4 kB / 0.5241 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.383, allocations: 0 / 0.5241 GB, free: 1.336 MB / 382.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.0003146/0.3833, allocations: 381.3 kB / 0.5245 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3834, allocations: 9.438 kB / 0.5245 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3834, allocations: 80.78 kB / 0.5246 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.599e-05/0.3835, allocations: 236.7 kB / 0.5248 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3835, allocations: 152.9 kB / 0.5249 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3835, allocations: 158.9 kB / 0.5251 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.118e-05/0.3836, allocations: 106.4 kB / 0.5252 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3836, allocations: 75.28 kB / 0.5253 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.3837, allocations: 152.4 kB / 0.5254 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.3837, allocations: 150.6 kB / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.3838, allocations: 155.8 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.384, allocations: 443.3 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.3841, allocations: 170.9 kB / 0.5263 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.3842, allocations: 81.36 kB / 0.5264 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3842, allocations: 79.28 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.3843, allocations: 115.8 kB / 0.5265 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3843, allocations: 0 / 0.5265 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.239e-05/0.3844, allocations: 31.39 kB / 0.5266 GB, free: 14.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3844, allocations: 77.67 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.3845, allocations: 91.11 kB / 0.5267 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3845, allocations: 25.7 kB / 0.5268 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.3845, allocations: 80.14 kB / 0.5268 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3845, allocations: 1.312 kB / 0.5268 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.3846, allocations: 15.61 kB / 0.5269 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.3847, allocations: 312.8 kB / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.3847, allocations: 0 / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.3847, allocations: 0 / 0.5272 GB, free: 14.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.3847, allocations: 77.61 kB / 0.5272 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/0.3848, allocations: 83.22 kB / 0.5273 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.139e-05/0.3848, allocations: 28.56 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.3849, allocations: 84.53 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/0.3849, allocations: 89.11 kB / 0.5275 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.965e-05/0.385, allocations: 157.1 kB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.385, allocations: 83.75 kB / 0.5277 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.74e-05/0.3851, allocations: 152.7 kB / 0.5279 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.3852, allocations: 79.33 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3852, allocations: 81.38 kB / 0.528 GB, free: 13.16 MB / 398.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.0001228/0.3853, allocations: 266.6 kB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.3854, allocations: 103 kB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.3854, allocations: 114.4 kB / 0.5285 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.458e-05/0.3855, allocations: 180.2 kB / 0.5287 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.3856, allocations: 102.5 kB / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.3856, allocations: 191.3 kB / 0.5289 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.3857, allocations: 177.8 kB / 0.5291 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.3858, allocations: 106.2 kB / 0.5292 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.3859, allocations: 180.2 kB / 0.5294 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.772e-05/0.386, allocations: 257.3 kB / 0.5296 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001599/0.3861, allocations: 383.7 kB / 0.53 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.349e-05/0.3862, allocations: 108.9 kB / 0.5301 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.3862, allocations: 75.28 kB / 0.5302 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Backend: time 1.51e-07/0.3862, allocations: 0 / 0.5302 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.3872, allocations: 250.3 kB / 0.5304 GB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.000405/0.3876, allocations: 0.8907 MB / 0.5313 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Templates: time 0.006541/0.3942, allocations: 3.383 MB / 0.5346 GB, free: 8.027 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches