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.001155/0.001154, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.00102/0.00102, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.358/1.358, allocations: 222.9 MB / 243 MB, free: 15.14 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.2112/0.2112, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.06 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004355/0.1172, allocations: 1.568 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1181, allocations: 439.1 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.1182, allocations: 0 / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.1187, allocations: 443.2 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.1192, allocations: 259.4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.1197, allocations: 166.8 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.12, allocations: 151.8 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1201, allocations: 15.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1203, allocations: 111.7 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1206, allocations: 203.6 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1206, allocations: 4 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.1207, allocations: 27.98 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1208, allocations: 79.69 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.1209, allocations: 103 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1212, allocations: 239 kB / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1212, allocations: 0 / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1213, allocations: 0 / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1213, allocations: 0 / 474.5 MB, free: 9.883 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.0007576/0.122, allocations: 0.6258 MB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1221, allocations: 8.031 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.1222, allocations: 44.31 kB / 475.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1225, allocations: 300.2 kB / 475.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1225, allocations: 384 / 475.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1225, allocations: 4.375 kB / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1227, allocations: 49.81 kB / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1227, allocations: 0 / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1227, allocations: 0 / 475.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1227, allocations: 4 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.1228, allocations: 23.92 kB / 475.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.1234, allocations: 388.7 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.1235, allocations: 30.56 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.1235, allocations: 16.91 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1236, allocations: 7.922 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1236, allocations: 38.5 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.1236, allocations: 8 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002661/0.1239, allocations: 97.11 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1239, allocations: 51.41 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.1248, allocations: 0.8574 MB / 477 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1248, allocations: 29.7 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.125, allocations: 220.1 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.125, allocations: 3.906 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.125, allocations: 17.84 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1252, allocations: 366.7 kB / 477.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.1252, allocations: 4 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.1253, allocations: 15.98 kB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.1254, allocations: 28.78 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1254, allocations: 4 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001513/0.1255, allocations: 93.28 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1256, allocations: 11.27 kB / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1256, allocations: 0 / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1256, allocations: 0 / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.1257, allocations: 4 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1257, allocations: 0 / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1257, allocations: 4 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1257, allocations: 0 / 477.8 MB, free: 6.336 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.0001796/0.1259, allocations: 217.7 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.126, allocations: 47.47 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1262, allocations: 112.5 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1262, allocations: 0 / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1262, allocations: 0 / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1262, allocations: 0 / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1265, allocations: 289.5 kB / 478.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1265, allocations: 3.938 kB / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.1265, allocations: 7.984 kB / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1265, allocations: 4 kB / 478.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1265, allocations: 4.031 kB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1266, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1266, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1268, allocations: 194.8 kB / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.1269, allocations: 112.6 kB / 478.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1269, allocations: 4 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.127, allocations: 4.031 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.127, allocations: 4 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.127, allocations: 0 / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005577/0.1276, allocations: 0.6511 MB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1276, allocations: 0 / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1278, allocations: 20 kB / 479.4 MB, free: 4.578 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.0007914/0.1286, allocations: 347.7 kB / 479.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1288, allocations: 23.98 kB / 479.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1288, allocations: 0 / 479.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.1289, allocations: 15.94 kB / 479.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1292, allocations: 25.88 kB / 479.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.1302, allocations: 0.7789 MB / 480.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1306, allocations: 0.8182 MB / 481.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.1306, allocations: 11.98 kB / 481.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1306, allocations: 11.44 kB / 481.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1306, allocations: 0 / 481.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Templates: time 0.004395/0.135, allocations: 1.271 MB / 482.7 MB, free: 1.367 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/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