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.001706/0.001706, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00266/0.002661, allocations: 211.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.541/1.541, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.09 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 75.41 kB / 418.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1092, allocations: 62.45 MB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001798/0.1111, allocations: 483.8 kB / 481.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.114, allocations: 2.037 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-06/0.114, allocations: 0 / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.114e-06/0.114, allocations: 0 / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.593e-06/0.114, allocations: 0 / 483.2 MB, free: 2.785 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.001608/0.1156, allocations: 0.5187 MB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.698e-05/0.1157, allocations: 0 / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.702e-05/0.1157, allocations: 4 kB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-06/0.1157, allocations: 0 / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-06/0.1157, allocations: 0 / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.466e-06/0.1157, allocations: 0 / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1171, allocations: 0.8927 MB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.1171, allocations: 3.984 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.425e-05/0.1171, allocations: 0 / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1181, allocations: 0.7837 MB / 485.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1181, allocations: 0 / 485.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1181, allocations: 8 kB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1182, allocations: 0 / 485.4 MB, free: 0.5781 MB / 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.0004373/0.1186, allocations: 375.5 kB / 485.8 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1186, allocations: 11.97 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.1187, allocations: 76.22 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1188, allocations: 243.7 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.1189, allocations: 150.9 kB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.119, allocations: 154.9 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.505e-05/0.119, allocations: 105.3 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1191, allocations: 79.22 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.1191, allocations: 150.6 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.1192, allocations: 150.6 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.1193, allocations: 162.5 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.1195, allocations: 445.9 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.1196, allocations: 165.1 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.1197, allocations: 88.12 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1197, allocations: 79.28 kB / 487.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.1198, allocations: 113.8 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.1198, allocations: 4 kB / 487.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.059e-05/0.1198, allocations: 33.69 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1199, allocations: 152.4 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.12, allocations: 89.86 kB / 488.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.12, allocations: 25.7 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.12, allocations: 80.14 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.12, allocations: 7.938 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.1201, allocations: 13.72 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1202, allocations: 310.8 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-06/0.1202, allocations: 0 / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.1202, allocations: 4 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.1203, allocations: 83.27 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/0.1203, allocations: 75.28 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.737e-05/0.1203, allocations: 33.64 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1204, allocations: 89.91 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.1204, allocations: 75.28 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-05/0.1205, allocations: 158.5 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.312e-05/0.1205, allocations: 75.28 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.954e-05/0.1206, allocations: 150.6 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.1207, allocations: 79.22 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1207, allocations: 91.27 kB / 489.5 MB, free: 12.24 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.0001373/0.1209, allocations: 256.4 kB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.1209, allocations: 108.9 kB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.121, allocations: 108.1 kB / 490 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.295e-05/0.1211, allocations: 176.3 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/0.1211, allocations: 188.2 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-05/0.1212, allocations: 180.3 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1214, allocations: 401.2 kB / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/0.1215, allocations: 101 kB / 491 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.1215, allocations: 109 kB / 491.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.546e-05/0.1216, allocations: 184.1 kB / 491.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.1217, allocations: 188.3 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-05/0.1217, allocations: 180.2 kB / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.895e-05/0.1218, allocations: 180.2 kB / 491.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1219, allocations: 307.8 kB / 492.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.122, allocations: 182.1 kB / 492.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.1221, allocations: 188.1 kB / 492.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.1222, allocations: 105 kB / 492.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1222, allocations: 180.2 kB / 492.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.1223, allocations: 105 kB / 492.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.1223, allocations: 75.28 kB / 492.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1223, allocations: 4 kB / 492.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00061/0.1229, allocations: 147.9 kB / 493.1 MB, free: 8.445 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.0007204/0.1237, allocations: 341.1 kB / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.004e-05/0.1237, allocations: 0 / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1237, allocations: 0 / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.1237, allocations: 3.938 kB / 493.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1241, allocations: 459.7 kB / 493.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.1242, allocations: 181.9 kB / 494 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1245, allocations: 0.6729 MB / 494.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.1245, allocations: 7.438 kB / 494.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1245, allocations: 0 / 494.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Templates: time 0.005241/0.1297, allocations: 2.918 MB / 497.6 MB, free: 3.812 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