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.001066/0.001066, allocations: 111.5 kB / 17.08 MB, free: 5.965 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.001112/0.001112, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.335/1.335, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1971/0.1971, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 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.001559/0.001559, allocations: 73.41 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001642/0.105, allocations: 0.4902 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1078, allocations: 2.013 MB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-06/0.1078, allocations: 4 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.837e-06/0.1079, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.102e-06/0.1079, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1095, allocations: 0.5103 MB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.456e-05/0.1095, allocations: 0 / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.958e-05/0.1096, allocations: 3.984 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-06/0.1096, allocations: 0 / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-06/0.1096, allocations: 0 / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-06/0.1096, allocations: 0 / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.1109, allocations: 0.8888 MB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.1109, allocations: 0 / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.111, allocations: 3.984 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1121, allocations: 0.7874 MB / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1121, allocations: 0 / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1121, allocations: 0 / 0.4931 GB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1121, allocations: 0 / 0.4931 GB, free: 7.082 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.0004356/0.1126, allocations: 375.6 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1126, allocations: 11.89 kB / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1127, allocations: 84.22 kB / 0.4936 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.1128, allocations: 239.7 kB / 0.4938 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.1128, allocations: 154.9 kB / 0.4939 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.1129, allocations: 150.9 kB / 0.4941 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.842e-05/0.113, allocations: 113.2 kB / 0.4942 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.113, allocations: 75.28 kB / 0.4943 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.1131, allocations: 154.6 kB / 0.4944 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.1131, allocations: 150.6 kB / 0.4946 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.1132, allocations: 154.6 kB / 0.4947 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.1134, allocations: 442 kB / 0.4951 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.1135, allocations: 173.1 kB / 0.4953 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.1136, allocations: 84.12 kB / 0.4954 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1136, allocations: 75.28 kB / 0.4954 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.1136, allocations: 117.8 kB / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1136, allocations: 0 / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.854e-05/0.1137, allocations: 29.7 kB / 0.4956 GB, free: 4.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.1138, allocations: 160.4 kB / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.1138, allocations: 89.86 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1138, allocations: 25.7 kB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1139, allocations: 80.14 kB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1139, allocations: 3.938 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.1139, allocations: 13.72 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.114, allocations: 310.8 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.114, allocations: 0 / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.1141, allocations: 4 kB / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.1141, allocations: 83.22 kB / 0.4963 GB, free: 3.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.1141, allocations: 75.28 kB / 0.4964 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.292e-05/0.1142, allocations: 29.69 kB / 0.4964 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.1142, allocations: 83.22 kB / 0.4965 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.1143, allocations: 87.2 kB / 0.4966 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/0.1143, allocations: 154.6 kB / 0.4967 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.1143, allocations: 83.36 kB / 0.4968 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.1144, allocations: 154.5 kB / 0.497 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1145, allocations: 79.28 kB / 0.497 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.1145, allocations: 83.2 kB / 0.4971 GB, free: 2.742 MB / 382.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.0001122/0.1146, allocations: 260.3 kB / 0.4974 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1147, allocations: 112.9 kB / 0.4975 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1147, allocations: 108.1 kB / 0.4976 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/0.1148, allocations: 180.2 kB / 0.4977 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.518e-05/0.1149, allocations: 180.2 kB / 0.4979 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/0.115, allocations: 188.1 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1152, allocations: 397.2 kB / 0.4985 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.522e-05/0.1153, allocations: 105 kB / 0.4986 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1153, allocations: 108.9 kB / 0.4987 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.1154, allocations: 184.2 kB / 0.4989 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.1154, allocations: 184.2 kB / 0.499 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.028e-05/0.1155, allocations: 176.3 kB / 0.4992 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.866e-05/0.1156, allocations: 180.2 kB / 0.4994 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1157, allocations: 311.8 kB / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1158, allocations: 186 kB / 0.4998 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.1159, allocations: 180.2 kB / 0.5 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.116, allocations: 108.9 kB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.116, allocations: 184.2 kB / 0.5003 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.1161, allocations: 105 kB / 0.5004 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.1161, allocations: 75.28 kB / 0.5005 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1161, allocations: 0 / 0.5005 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.1167, allocations: 140 kB / 0.5006 GB, free: 14.94 MB / 398.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.0006553/0.1173, allocations: 347.1 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.399e-05/0.1174, allocations: 0 / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1174, allocations: 0 / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1174, allocations: 0 / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1177, allocations: 459.7 kB / 0.5014 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.1179, allocations: 189.7 kB / 0.5016 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.1181, allocations: 0.669 MB / 0.5022 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.1181, allocations: 11.44 kB / 0.5022 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1181, allocations: 0 / 0.5022 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.005209/0.1233, allocations: 2.922 MB / 0.5051 GB, free: 10.29 MB / 398.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