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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 109 kB / 20.45 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 214.8 kB / 23.75 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1066, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001607/0.1082, allocations: 0.4909 MB / 0.5178 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.1111, allocations: 2.045 MB / 0.5198 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-06/0.1111, allocations: 0 / 0.5198 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-06/0.1111, allocations: 0 / 0.5198 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.373e-06/0.1111, allocations: 0 / 0.5198 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1128, allocations: 0.5766 MB / 0.5204 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.679e-05/0.1128, allocations: 0 / 0.5204 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.412e-05/0.1128, allocations: 0 / 0.5204 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.09e-05/0.1128, allocations: 3.984 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-06/0.1128, allocations: 4 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-06/0.1128, allocations: 0 / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1143, allocations: 1.103 MB / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-06/0.1143, allocations: 0 / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.061e-05/0.1144, allocations: 0 / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009194/0.1153, allocations: 0.8223 MB / 0.5223 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1153, allocations: 3.938 kB / 0.5223 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1153, allocations: 0 / 0.5223 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1153, allocations: 0 / 0.5223 GB, free: 1.773 MB / 398.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.0003374/0.1156, allocations: 305.8 kB / 0.5226 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1156, allocations: 8.031 kB / 0.5226 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.1157, allocations: 76.22 kB / 0.5227 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1158, allocations: 181.8 kB / 0.5228 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.1159, allocations: 150.9 kB / 0.523 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.1159, allocations: 150.9 kB / 0.5231 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.116, allocations: 117.2 kB / 0.5232 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.1161, allocations: 75.28 kB / 0.5233 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.1161, allocations: 150.6 kB / 0.5234 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.1162, allocations: 150.6 kB / 0.5236 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.1162, allocations: 166.4 kB / 0.5238 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1165, allocations: 421 kB / 0.5242 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.1166, allocations: 165.1 kB / 0.5243 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.1167, allocations: 80.14 kB / 0.5244 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1167, allocations: 75.28 kB / 0.5245 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/0.1167, allocations: 121.7 kB / 0.5246 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1167, allocations: 0 / 0.5246 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.442e-05/0.1168, allocations: 25.7 kB / 0.5246 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.1169, allocations: 152.4 kB / 0.5247 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.1169, allocations: 93.86 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.117, allocations: 25.7 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.117, allocations: 84.14 kB / 0.5249 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.117, allocations: 0 / 0.5249 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.117, allocations: 17.7 kB / 0.525 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1171, allocations: 310.8 kB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.1172, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.1172, allocations: 0 / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.1172, allocations: 79.28 kB / 0.5253 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/0.1172, allocations: 75.28 kB / 0.5254 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.311e-05/0.1173, allocations: 29.64 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.1173, allocations: 87.22 kB / 0.5255 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.1174, allocations: 79.31 kB / 0.5256 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.924e-05/0.1174, allocations: 154.5 kB / 0.5257 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.1175, allocations: 83.27 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.254e-05/0.1175, allocations: 158.5 kB / 0.526 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.1176, allocations: 79.27 kB / 0.526 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.1176, allocations: 75.28 kB / 0.5261 GB, free: 13.65 MB / 414.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.0001291/0.1177, allocations: 268.3 kB / 0.5264 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1178, allocations: 108.9 kB / 0.5265 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1179, allocations: 112 kB / 0.5266 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-05/0.1179, allocations: 184.2 kB / 0.5268 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.587e-05/0.118, allocations: 180.3 kB / 0.5269 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/0.1181, allocations: 184.3 kB / 0.5271 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1183, allocations: 372.2 kB / 0.5275 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/0.1184, allocations: 105 kB / 0.5276 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.1184, allocations: 108.9 kB / 0.5277 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/0.1185, allocations: 184.1 kB / 0.5278 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.1185, allocations: 176.3 kB / 0.528 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.096e-05/0.1186, allocations: 188.1 kB / 0.5282 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.427e-05/0.1187, allocations: 184.2 kB / 0.5284 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1188, allocations: 303.8 kB / 0.5286 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.1189, allocations: 101 kB / 0.5287 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.119, allocations: 192.1 kB / 0.5289 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.119, allocations: 109 kB / 0.529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.1191, allocations: 180.2 kB / 0.5292 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1192, allocations: 101 kB / 0.5293 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.181e-05/0.1192, allocations: 75.75 kB / 0.5294 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1192, allocations: 0 / 0.5294 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.1197, allocations: 151.6 kB / 0.5295 GB, free: 9.961 MB / 414.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.0006175/0.1203, allocations: 330.8 kB / 0.5298 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.851e-05/0.1204, allocations: 11.98 kB / 0.5298 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1204, allocations: 11.94 kB / 0.5299 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1204, allocations: 0 / 0.5299 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1207, allocations: 451.7 kB / 0.5303 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.1209, allocations: 181.8 kB / 0.5305 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1211, allocations: 0.669 MB / 0.5311 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.1211, allocations: 15.44 kB / 0.5311 GB, free: 8.238 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1211, allocations: 0 / 0.5311 GB, free: 8.238 MB / 414.1 MB Notification: Performance of Templates: time 0.004773/0.1259, allocations: 2.913 MB / 0.534 GB, free: 5.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.145195133052766]