Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001464/0.001464, allocations: 105.2 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.001585/0.001585, allocations: 225.3 kB / 23.76 MB, free: 4.719 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.294/1.294, 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.2048/0.2048, allocations: 44.24 MB / 331 MB, free: 9.613 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [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.002265/0.002265, allocations: 72.47 kB / 468.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 61.05 MB / 0.5174 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00169/0.1191, allocations: 0.491 MB / 0.5178 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1223, allocations: 2.174 MB / 0.52 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1223, allocations: 0 / 0.52 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.1223, allocations: 0 / 0.52 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.1223, allocations: 3.938 kB / 0.52 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.1245, allocations: 0.7521 MB / 0.5207 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.543e-05/0.1245, allocations: 4 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1246, allocations: 0 / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.1246, allocations: 4 kB / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.444e-05/0.1246, allocations: 0 / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-06/0.1246, allocations: 4 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.127, allocations: 1.7 MB / 0.5224 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.127, allocations: 3.984 kB / 0.5224 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1271, allocations: 4 kB / 0.5224 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1289, allocations: 1.559 MB / 0.5239 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1289, allocations: 0 / 0.5239 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1289, allocations: 7.938 kB / 0.5239 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1289, allocations: 3.984 kB / 0.5239 GB, free: 136 kB / 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.0007775/0.1297, allocations: 343.3 kB / 0.5242 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1297, allocations: 8.031 kB / 0.5243 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1298, allocations: 4.938 kB / 0.5243 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.042e-05/0.1298, allocations: 106.5 kB / 0.5244 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.1299, allocations: 384 / 0.5244 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.1299, allocations: 4.125 kB / 0.5244 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.1299, allocations: 29.7 kB / 0.5244 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.13, allocations: 4 kB / 0.5244 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.13, allocations: 0 / 0.5244 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.13, allocations: 0 / 0.5244 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.13, allocations: 4 kB / 0.5244 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.1301, allocations: 120.8 kB / 0.5245 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.1302, allocations: 22.45 kB / 0.5245 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.1302, allocations: 12.89 kB / 0.5245 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.1302, allocations: 0 / 0.5245 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.1302, allocations: 60.27 kB / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1302, allocations: 0 / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001674/0.1304, allocations: 71.33 kB / 0.5247 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1304, allocations: 77.11 kB / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.1305, allocations: 89.86 kB / 0.5248 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1305, allocations: 25.7 kB / 0.5249 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1305, allocations: 80.14 kB / 0.5249 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1306, allocations: 8.125 kB / 0.5249 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1306, allocations: 9.719 kB / 0.525 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1307, allocations: 318.8 kB / 0.5253 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.1307, allocations: 4 kB / 0.5253 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-06/0.1307, allocations: 0 / 0.5253 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.1308, allocations: 60.27 kB / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1308, allocations: 0 / 0.5253 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.183e-05/0.1309, allocations: 63.38 kB / 0.5254 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.1309, allocations: 41.69 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1309, allocations: 0 / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1309, allocations: 3.984 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1309, allocations: 0 / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1309, allocations: 0 / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.1309, allocations: 4 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1309, allocations: 4 kB / 0.5254 GB, free: 14.35 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: 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 8.604e-05/0.131, allocations: 131.5 kB / 0.5256 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.131, allocations: 3.938 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-06/0.131, allocations: 11 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.131, allocations: 0 / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1311, allocations: 0 / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1311, allocations: 7.922 kB / 0.5256 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.1311, allocations: 112.8 kB / 0.5257 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1311, allocations: 3.938 kB / 0.5257 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-06/0.1311, allocations: 4 kB / 0.5257 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1311, allocations: 0 / 0.5257 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.1312, allocations: 4 kB / 0.5257 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1312, allocations: 3.938 kB / 0.5257 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1312, allocations: 7.984 kB / 0.5257 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1313, allocations: 94.77 kB / 0.5258 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.1313, allocations: 3.938 kB / 0.5258 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1313, allocations: 0 / 0.5258 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.1313, allocations: 4 kB / 0.5258 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1313, allocations: 4 kB / 0.5258 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1313, allocations: 3.984 kB / 0.5258 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.1313, allocations: 79.31 kB / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 0 / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000901/0.1322, allocations: 271.6 kB / 0.5261 GB, free: 13.54 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: 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.001478/0.1337, allocations: 408.3 kB / 0.5265 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1338, allocations: 55.41 kB / 0.5266 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1338, allocations: 7.938 kB / 0.5266 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.1339, allocations: 63.33 kB / 0.5267 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.134, allocations: 5.812 kB / 0.5267 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1342, allocations: 110.8 kB / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1345, allocations: 0.669 MB / 0.5274 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.1345, allocations: 11.44 kB / 0.5274 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1345, allocations: 0 / 0.5274 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.01116/0.1457, allocations: 6.642 MB / 0.5339 GB, free: 5.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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: 10.061881739879027]