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.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108.3 kB / 16.64 MB, free: 6.812 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.001269/0.001269, allocations: 186 kB / 17.56 MB, free: 5.926 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.32/1.32, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2123/0.2123, allocations: 43.51 MB / 314.3 MB, free: 0.7031 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.001447/0.001448, allocations: 70.27 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00185/0.1064, allocations: 0.55 MB / 441.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1089, allocations: 2.131 MB / 443.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.109, allocations: 4 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.109, allocations: 3.938 kB / 443.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.109, allocations: 0 / 443.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.1109, allocations: 0.6737 MB / 444 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.111, allocations: 7.938 kB / 444 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.111, allocations: 4 kB / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.1111, allocations: 0 / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.1111, allocations: 0 / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.1111, allocations: 4 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.1127, allocations: 1.404 MB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.1127, allocations: 3.984 kB / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1128, allocations: 0 / 445.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1138, allocations: 1.166 MB / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1138, allocations: 0 / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1138, allocations: 0 / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1138, allocations: 4 kB / 446.6 MB, free: 1.387 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000741/0.1146, allocations: 413.5 kB / 447 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1146, allocations: 15.89 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1146, allocations: 0.9375 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.1147, allocations: 164.3 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1147, allocations: 384 / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1147, allocations: 4.125 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1148, allocations: 33.69 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1149, allocations: 3.984 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1149, allocations: 7.938 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1149, allocations: 0 / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.1149, allocations: 0 / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.807e-05/0.115, allocations: 149.7 kB / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.231e-05/0.1151, allocations: 14.58 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.1151, allocations: 12.89 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.1151, allocations: 3.938 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1151, allocations: 68.19 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.1151, allocations: 0 / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1153, allocations: 67.34 kB / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1153, allocations: 77.11 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.129e-05/0.1154, allocations: 89.86 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.1154, allocations: 25.7 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.1154, allocations: 80.14 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1155, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1155, allocations: 17.83 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1156, allocations: 314.8 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.1156, allocations: 0 / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.1156, allocations: 4 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.1157, allocations: 64.2 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1157, allocations: 0 / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.531e-05/0.1158, allocations: 63.33 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1158, allocations: 41.8 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1158, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1159, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.1159, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1159, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.1159, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1159, allocations: 0 / 448.3 MB, free: 15.41 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: 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 0.0001153/0.116, allocations: 139.5 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.1161, allocations: 7.922 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.1161, allocations: 7.125 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1161, allocations: 4 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1161, allocations: 0 / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1161, allocations: 0 / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.1162, allocations: 141.7 kB / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1162, allocations: 3.938 kB / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-06/0.1162, allocations: 4 kB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1162, allocations: 0 / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1163, allocations: 7.984 kB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1163, allocations: 3.938 kB / 448.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1163, allocations: 0 / 448.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.1164, allocations: 90.78 kB / 448.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1164, allocations: 89.03 kB / 448.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1164, allocations: 0 / 448.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.1164, allocations: 0 / 448.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1165, allocations: 4 kB / 448.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1165, allocations: 4 kB / 448.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.546e-05/0.1165, allocations: 75.28 kB / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1165, allocations: 7.969 kB / 448.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.1175, allocations: 272 kB / 449.2 MB, free: 14.46 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: 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.001607/0.1191, allocations: 400.2 kB / 449.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1192, allocations: 63.33 kB / 449.6 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1193, allocations: 0 / 449.6 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1193, allocations: 59.41 kB / 449.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1194, allocations: 11.31 kB / 449.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.1196, allocations: 98.81 kB / 449.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1199, allocations: 0.6807 MB / 450.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.1199, allocations: 7.438 kB / 450.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1199, allocations: 0 / 450.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01139/0.1313, allocations: 6.753 MB / 457.2 MB, free: 6.312 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches