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.001302/0.001302, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001301/0.001301, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.353/1.353, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2102/0.2102, allocations: 44.16 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.41 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002914/0.1199, allocations: 1.637 MB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.1206, allocations: 431.2 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.1207, allocations: 0 / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1212, allocations: 451.2 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1215, allocations: 239.6 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1219, allocations: 159.2 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1221, allocations: 155.6 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.1222, allocations: 15.98 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.1223, allocations: 99.8 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1225, allocations: 207.6 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1226, allocations: 0 / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.1226, allocations: 27.97 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1227, allocations: 83.62 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.1228, allocations: 95.06 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.123, allocations: 171.8 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.123, allocations: 0 / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.123, allocations: 0 / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1231, allocations: 0 / 472.9 MB, free: 11.07 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.0006478/0.1237, allocations: 0.6261 MB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1237, allocations: 12.03 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.1238, allocations: 40.38 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1241, allocations: 300.2 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.1241, allocations: 384 / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1241, allocations: 384 / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1243, allocations: 57.75 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.1243, allocations: 0 / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1243, allocations: 0 / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1243, allocations: 4 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.1244, allocations: 23.98 kB / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1249, allocations: 384.7 kB / 474.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.125, allocations: 34.5 kB / 474.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.125, allocations: 16.91 kB / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1251, allocations: 4 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1251, allocations: 34.56 kB / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1251, allocations: 0 / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002644/0.1254, allocations: 101.1 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1254, allocations: 51.41 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.1262, allocations: 0.8574 MB / 475.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1262, allocations: 29.77 kB / 475.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1264, allocations: 228.1 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1264, allocations: 3.906 kB / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1264, allocations: 13.72 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1266, allocations: 366.7 kB / 476.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.1266, allocations: 7.938 kB / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.1267, allocations: 15.98 kB / 476.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.362e-05/0.1268, allocations: 28.91 kB / 476.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1268, allocations: 0 / 476.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001456/0.1269, allocations: 85.22 kB / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.127, allocations: 8 kB / 476.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.127, allocations: 7.922 kB / 476.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.127, allocations: 0 / 476.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1271, allocations: 7.938 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1271, allocations: 0 / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.1271, allocations: 8.031 kB / 476.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1271, allocations: 0 / 476.2 MB, free: 7.523 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.0001719/0.1273, allocations: 213.7 kB / 476.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1274, allocations: 39.44 kB / 476.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.1276, allocations: 108.6 kB / 476.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1276, allocations: 4 kB / 476.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1276, allocations: 0 / 476.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1276, allocations: 0 / 476.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1279, allocations: 297.5 kB / 476.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1279, allocations: 0 / 476.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.1279, allocations: 7.984 kB / 476.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1279, allocations: 0 / 476.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1279, allocations: 7.938 kB / 476.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1279, allocations: 0 / 476.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1279, allocations: 0 / 476.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1281, allocations: 186.9 kB / 477.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1282, allocations: 116.6 kB / 477.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1282, allocations: 0 / 477.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1283, allocations: 0 / 477.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1284, allocations: 8 kB / 477.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1284, allocations: 0 / 477.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005679/0.1289, allocations: 0.6511 MB / 477.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1289, allocations: 0 / 477.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1292, allocations: 16 kB / 477.9 MB, free: 5.785 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.0007699/0.13, allocations: 357.6 kB / 478.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1301, allocations: 23.92 kB / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1301, allocations: 8.062 kB / 478.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1302, allocations: 12 kB / 478.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1306, allocations: 25.55 kB / 478.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1316, allocations: 0.8724 MB / 479.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.132, allocations: 0.8145 MB / 480 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.1321, allocations: 11.44 kB / 480 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1321, allocations: 4 kB / 480 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Templates: time 0.006381/0.1385, allocations: 3.449 MB / 483.4 MB, free: 288 kB / 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/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