Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 110.1 kB / 17.33 MB, free: 6.016 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.002041/0.002041, allocations: 193.3 kB / 18.24 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.9 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.17 MB / 336.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.19 kB / 407.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 60.83 MB / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003486/0.1099, allocations: 1.618 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.1108, allocations: 435.2 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.1108, allocations: 0 / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.1115, allocations: 447.2 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.112, allocations: 247.5 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.1125, allocations: 158.5 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1128, allocations: 151.8 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1129, allocations: 15.98 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.1131, allocations: 107.7 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1134, allocations: 215.6 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1134, allocations: 4 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.1135, allocations: 23.98 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1136, allocations: 91.61 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.1137, allocations: 99 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.114, allocations: 235 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.114, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.114, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.114, allocations: 4 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007281/0.1148, allocations: 0.6183 MB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1148, allocations: 8.031 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1149, allocations: 48.38 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.1152, allocations: 296.1 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1152, allocations: 4.375 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1153, allocations: 4.375 kB / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1154, allocations: 53.8 kB / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1154, allocations: 0 / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1154, allocations: 4 kB / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1155, allocations: 0 / 473.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.455e-05/0.1156, allocations: 27.97 kB / 473.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.1161, allocations: 384.7 kB / 474 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.1162, allocations: 34.56 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.1163, allocations: 16.92 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1163, allocations: 4 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1163, allocations: 30.56 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1163, allocations: 0 / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002831/0.1166, allocations: 101 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1167, allocations: 59.34 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.1175, allocations: 0.8654 MB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1175, allocations: 25.7 kB / 475.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1177, allocations: 216.1 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.1177, allocations: 3.906 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1177, allocations: 17.7 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1179, allocations: 362.7 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.118, allocations: 11.98 kB / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.118, allocations: 8 kB / 475.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.1181, allocations: 32.91 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1181, allocations: 0 / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001707/0.1183, allocations: 93.14 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1183, allocations: 4 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1183, allocations: 0 / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1183, allocations: 0 / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.1184, allocations: 8 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1184, allocations: 4.031 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1185, allocations: 3.984 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1185, allocations: 0 / 475.8 MB, free: 7.32 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0001972/0.1187, allocations: 213.7 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.1188, allocations: 43.44 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.119, allocations: 116.5 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.119, allocations: 0 / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.119, allocations: 0 / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1191, allocations: 4.031 kB / 476.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.1194, allocations: 293.5 kB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1194, allocations: 0 / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.1194, allocations: 7.938 kB / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1194, allocations: 0 / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1194, allocations: 0 / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1194, allocations: 0 / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1194, allocations: 0 / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1196, allocations: 198.9 kB / 476.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.1197, allocations: 108.6 kB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1198, allocations: 0 / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1198, allocations: 4 kB / 476.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1199, allocations: 7.922 kB / 476.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1199, allocations: 0 / 476.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005787/0.1205, allocations: 0.6511 MB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1205, allocations: 0 / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1207, allocations: 20.03 kB / 477.5 MB, free: 5.57 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0007961/0.1215, allocations: 352.1 kB / 477.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1217, allocations: 27.98 kB / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1217, allocations: 0 / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.1217, allocations: 15.98 kB / 477.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1221, allocations: 25.95 kB / 477.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1233, allocations: 0.8413 MB / 478.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1237, allocations: 0.8182 MB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.1238, allocations: 15.98 kB / 479.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1238, allocations: 11.44 kB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1238, allocations: 0 / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of Templates: time 0.00446/0.1283, allocations: 1.244 MB / 480.8 MB, free: 2.309 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches