Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001585/0.001585, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1932/0.1932, allocations: 43.53 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 67.2 kB / 383.4 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09686, allocations: 57.8 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001527/0.09842, allocations: 493.4 kB / 441.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1006, allocations: 2.013 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-06/0.1007, allocations: 0 / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.888e-06/0.1007, allocations: 0 / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.263e-06/0.1007, allocations: 4 kB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.102, allocations: 0.5183 MB / 444.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 1.486e-05/0.102, allocations: 4 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.692e-05/0.102, allocations: 0 / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-06/0.102, allocations: 0 / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.039e-05/0.102, allocations: 0 / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-06/0.102, allocations: 0 / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009607/0.103, allocations: 0.881 MB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.103, allocations: 0 / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.1031, allocations: 8 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.1037, allocations: 0.78 MB / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1038, allocations: 0 / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1038, allocations: 0 / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1038, allocations: 0 / 445.9 MB, free: 2.215 MB / 318.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.0002919/0.1041, allocations: 379.5 kB / 446.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1041, allocations: 11.89 kB / 446.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1042, allocations: 80.16 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.92e-05/0.1042, allocations: 235.7 kB / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1043, allocations: 154.9 kB / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1043, allocations: 158.9 kB / 446.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.934e-05/0.1043, allocations: 105.3 kB / 447 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1044, allocations: 75.28 kB / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1044, allocations: 150.6 kB / 447.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1044, allocations: 154.6 kB / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.1045, allocations: 158.5 kB / 447.5 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1046, allocations: 449.9 kB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1047, allocations: 165.1 kB / 448.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.1048, allocations: 84.14 kB / 448.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1048, allocations: 83.22 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.1049, allocations: 109.8 kB / 448.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1049, allocations: 0 / 448.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.903e-05/0.105, allocations: 33.64 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.105, allocations: 152.4 kB / 448.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.1051, allocations: 89.86 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1051, allocations: 29.7 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1052, allocations: 80.14 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.1052, allocations: 0 / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.1052, allocations: 17.7 kB / 448.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1053, allocations: 310.8 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.1053, allocations: 4 kB / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.1053, allocations: 0 / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.1054, allocations: 75.28 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/0.1054, allocations: 79.31 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.147e-05/0.1055, allocations: 33.64 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.1055, allocations: 83.22 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.1056, allocations: 75.36 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.028e-05/0.1056, allocations: 162.5 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.383e-05/0.1057, allocations: 79.27 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.843e-05/0.1057, allocations: 150.6 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1058, allocations: 83.22 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.1058, allocations: 87.33 kB / 450 MB, free: 13.88 MB / 334.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.0001062/0.1059, allocations: 260.3 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.106, allocations: 108.9 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1061, allocations: 112.1 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-05/0.1061, allocations: 180.3 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-05/0.1062, allocations: 180.2 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.128e-05/0.1063, allocations: 184.3 kB / 451 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1066, allocations: 405.2 kB / 451.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-05/0.1066, allocations: 101 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.1067, allocations: 101 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-05/0.1068, allocations: 188.1 kB / 451.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.1069, allocations: 188.2 kB / 451.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.1069, allocations: 184.2 kB / 452.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/0.107, allocations: 176.3 kB / 452.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.1071, allocations: 315.7 kB / 452.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.1072, allocations: 178.1 kB / 452.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.1073, allocations: 196.1 kB / 452.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1074, allocations: 101 kB / 453 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.1074, allocations: 176.3 kB / 453.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.1075, allocations: 104.9 kB / 453.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.1075, allocations: 79.28 kB / 453.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1075, allocations: 0 / 453.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005803/0.1081, allocations: 152 kB / 453.5 MB, free: 10.06 MB / 334.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.0006455/0.1087, allocations: 334.2 kB / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.617e-05/0.1088, allocations: 0 / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1088, allocations: 0 / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.1088, allocations: 0 / 453.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1091, allocations: 469.7 kB / 454.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.1093, allocations: 178 kB / 454.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1095, allocations: 0.669 MB / 455.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.1095, allocations: 7.438 kB / 455.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1095, allocations: 0 / 455.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of Templates: time 0.004846/0.1144, allocations: 2.924 MB / 458.1 MB, free: 5.445 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches