Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001438/0.001438, allocations: 105 kB / 20.44 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.001628/0.001628, allocations: 215.4 kB / 23.76 MB, free: 4.727 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.271/1.271, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.1952/0.1952, allocations: 44.24 MB / 331 MB, free: 9.527 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [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.002052/0.002052, allocations: 67.91 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1011, allocations: 61.03 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00154/0.1026, allocations: 0.4988 MB / 0.5178 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1047, allocations: 1.617 MB / 0.5194 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.1047, allocations: 0 / 0.5194 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1047, allocations: 0 / 0.5194 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-06/0.1047, allocations: 0 / 0.5194 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.1056, allocations: 299.1 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.1056, allocations: 4 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.1057, allocations: 4 kB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1057, allocations: 0 / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.36e-05/0.1057, allocations: 0 / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.1057, allocations: 0 / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.1065, allocations: 0.5964 MB / 0.5203 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-06/0.1065, allocations: 0 / 0.5203 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.1065, allocations: 0 / 0.5203 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.107, allocations: 339.1 kB / 0.5206 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.107, allocations: 3.938 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.107, allocations: 0 / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.107, allocations: 0 / 0.5206 GB, free: 3.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000344/0.1073, allocations: 295.8 kB / 0.5209 GB, free: 3.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1074, allocations: 8.031 kB / 0.5209 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1074, allocations: 0.9375 kB / 0.5209 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.1075, allocations: 110.5 kB / 0.521 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.1075, allocations: 384 / 0.521 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1075, allocations: 4.375 kB / 0.521 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.1076, allocations: 38 kB / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1076, allocations: 0 / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.1076, allocations: 0 / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1076, allocations: 0 / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.1076, allocations: 0 / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1077, allocations: 124.8 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.1078, allocations: 18.52 kB / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1078, allocations: 12.95 kB / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.1078, allocations: 0 / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.1079, allocations: 64.19 kB / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1079, allocations: 0 / 0.5213 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.108, allocations: 71.28 kB / 0.5213 GB, free: 2.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1081, allocations: 77.11 kB / 0.5214 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.1081, allocations: 89.86 kB / 0.5215 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1081, allocations: 25.83 kB / 0.5215 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.1082, allocations: 88.12 kB / 0.5216 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1082, allocations: 4 kB / 0.5216 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.1082, allocations: 9.719 kB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1083, allocations: 314.8 kB / 0.5219 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1084, allocations: 4 kB / 0.5219 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.1084, allocations: 0 / 0.5219 GB, free: 1.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.1084, allocations: 64.2 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1084, allocations: 4.062 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.776e-05/0.1085, allocations: 63.33 kB / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.1085, allocations: 37.64 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1085, allocations: 4 kB / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1085, allocations: 0 / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.1085, allocations: 0 / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1085, allocations: 0 / 0.5221 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.1086, allocations: 7.938 kB / 0.5221 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1086, allocations: 4 kB / 0.5221 GB, free: 1.723 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.008e-05/0.1087, allocations: 139.6 kB / 0.5222 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1087, allocations: 3.938 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-06/0.1087, allocations: 7 kB / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1087, allocations: 0 / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1087, allocations: 0 / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1087, allocations: 0 / 0.5222 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.1088, allocations: 112.8 kB / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1088, allocations: 0 / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1088, allocations: 4 kB / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1088, allocations: 7.922 kB / 0.5224 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1088, allocations: 4 kB / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1088, allocations: 0 / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1088, allocations: 0 / 0.5224 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1089, allocations: 90.78 kB / 0.5225 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.1089, allocations: 3.984 kB / 0.5225 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1089, allocations: 3.938 kB / 0.5225 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.1089, allocations: 11.94 kB / 0.5225 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.1089, allocations: 4.031 kB / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.1089, allocations: 0 / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.109, allocations: 75.28 kB / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.109, allocations: 0 / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1092, allocations: 63.8 kB / 0.5226 GB, free: 1.121 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003915/0.1096, allocations: 183.8 kB / 0.5228 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.1097, allocations: 63.41 kB / 0.5228 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1097, allocations: 0 / 0.5228 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.1098, allocations: 59.34 kB / 0.5229 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1099, allocations: 9.922 kB / 0.5229 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.1101, allocations: 114.6 kB / 0.523 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1104, allocations: 0.669 MB / 0.5237 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-06/0.1104, allocations: 7.438 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1104, allocations: 0 / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Templates: time 0.002957/0.1133, allocations: 1.261 MB / 0.5249 GB, free: 14.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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: 7.310147606069222]