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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009146, allocations: 100.7 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3139/0.3139, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09867, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002051/0.1008, allocations: 0.5774 MB / 487.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.103, allocations: 1.587 MB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.042e-05/0.103, allocations: 0 / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1031, allocations: 0 / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.1031, allocations: 0 / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.104, allocations: 251.5 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.104, allocations: 0 / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1041, allocations: 0 / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.1041, allocations: 0 / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.1041, allocations: 4 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-06/0.1041, allocations: 0 / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000702/0.1049, allocations: 498.8 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.1049, allocations: 3.938 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.1049, allocations: 3.984 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.1053, allocations: 303.4 kB / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1053, allocations: 0 / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1053, allocations: 0 / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1054, allocations: 0 / 490.2 MB, free: 9.328 MB / 378.7 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.0003599/0.1057, allocations: 377.2 kB / 490.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1058, allocations: 12.02 kB / 490.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.1058, allocations: 4.938 kB / 490.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.1059, allocations: 164.4 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1059, allocations: 384 / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1059, allocations: 4.375 kB / 490.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.106, allocations: 30.02 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.106, allocations: 3.938 kB / 490.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.106, allocations: 0 / 490.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1061, allocations: 4 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1061, allocations: 3.938 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1062, allocations: 153.7 kB / 490.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.989e-05/0.1062, allocations: 18.61 kB / 491 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.1063, allocations: 4.859 kB / 491 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1063, allocations: 0 / 491 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.1063, allocations: 60.2 kB / 491 MB, free: 8.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1063, allocations: 4.062 kB / 491 MB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001407/0.1065, allocations: 67.42 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1065, allocations: 85.14 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.873e-05/0.1066, allocations: 89.86 kB / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1066, allocations: 25.7 kB / 491.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.1066, allocations: 80.14 kB / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.1066, allocations: 0 / 491.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1067, allocations: 17.72 kB / 491.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.1068, allocations: 310.8 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.1068, allocations: 3.984 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1068, allocations: 4 kB / 491.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.1069, allocations: 64.2 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1069, allocations: 0 / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.531e-05/0.1069, allocations: 59.41 kB / 491.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.107, allocations: 37.64 kB / 491.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.107, allocations: 3.984 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.107, allocations: 4 kB / 491.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.107, allocations: 0 / 491.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.107, allocations: 4.094 kB / 491.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.107, allocations: 3.938 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1071, allocations: 0 / 491.9 MB, free: 7.387 MB / 378.7 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 7.492e-05/0.1071, allocations: 135.8 kB / 492 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.1072, allocations: 3.938 kB / 492 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-06/0.1072, allocations: 3.125 kB / 492 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1072, allocations: 0 / 492 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1072, allocations: 0 / 492 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1072, allocations: 0 / 492 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.455e-05/0.1073, allocations: 153.7 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1073, allocations: 4 kB / 492.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.1073, allocations: 0 / 492.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1073, allocations: 7.875 kB / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1073, allocations: 0 / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1073, allocations: 3.938 kB / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1073, allocations: 0 / 492.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1077, allocations: 0.6413 MB / 492.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.1077, allocations: 81.05 kB / 492.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1077, allocations: 4 kB / 492.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.1077, allocations: 0 / 492.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1078, allocations: 0 / 492.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1078, allocations: 0 / 492.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.1078, allocations: 75.28 kB / 493 MB, free: 6.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1078, allocations: 0 / 493 MB, free: 6.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.1082, allocations: 67.98 kB / 493 MB, free: 6.066 MB / 378.7 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.0004208/0.1086, allocations: 194.7 kB / 493.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.1087, allocations: 67.33 kB / 493.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1087, allocations: 4 kB / 493.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.1088, allocations: 51.41 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.1089, allocations: 4 kB / 493.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.1091, allocations: 193.2 kB / 493.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1094, allocations: 0.6692 MB / 494.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.282e-06/0.1094, allocations: 0 / 494.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.1094, allocations: 11.56 kB / 494.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1094, allocations: 0 / 494.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of Templates: time 0.003394/0.1128, allocations: 1.273 MB / 495.5 MB, free: 3.516 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches