Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001277/0.001277, allocations: 194 kB / 18.12 MB, free: 5.383 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.453/1.453, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2224/0.2224, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 68.31 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1388, allocations: 60.81 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003098/0.142, allocations: 1.621 MB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.1428, allocations: 399.3 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1429, allocations: 0 / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1431, allocations: 15.92 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1433, allocations: 31.91 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1436, allocations: 79.84 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1437, allocations: 55.78 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1439, allocations: 12 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.1439, allocations: 15.92 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.144, allocations: 19.86 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.144, allocations: 4 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1442, allocations: 23.98 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.1442, allocations: 15.92 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.1443, allocations: 15.88 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1444, allocations: 79.73 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1445, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1445, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1445, allocations: 0 / 470.9 MB, free: 12.46 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.0006174/0.1451, allocations: 375.6 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1451, allocations: 8.031 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1452, allocations: 12.78 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1454, allocations: 188.2 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1454, allocations: 384 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1455, allocations: 8.375 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1456, allocations: 49.81 kB / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1456, allocations: 7.844 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1457, allocations: 3.938 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1457, allocations: 4 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.1458, allocations: 19.98 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1462, allocations: 272.9 kB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1464, allocations: 42.55 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1465, allocations: 24.88 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1465, allocations: 0 / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1465, allocations: 34.56 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1465, allocations: 0 / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005589/0.1471, allocations: 141.3 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1472, allocations: 51.41 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1473, allocations: 144.8 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1473, allocations: 25.7 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.1474, allocations: 96.12 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1474, allocations: 11.81 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.1475, allocations: 21.72 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1476, allocations: 322.8 kB / 472.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.1477, allocations: 19.98 kB / 472.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1478, allocations: 15.98 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1479, allocations: 44.83 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1479, allocations: 0 / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1481, allocations: 85.52 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1481, allocations: 6.188 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1481, allocations: 0 / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1481, allocations: 4 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.1482, allocations: 11.98 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1482, allocations: 0 / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.1483, allocations: 8 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1483, allocations: 0 / 472.9 MB, free: 10.22 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 (5): * Single equations (assignments): 5 * 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 9.676e-05/0.1484, allocations: 130.2 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1484, allocations: 7.906 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1487, allocations: 89.91 kB / 473.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1487, allocations: 0 / 473.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.1487, allocations: 0 / 473.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1487, allocations: 3.938 kB / 473.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1491, allocations: 354.8 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1491, allocations: 3.938 kB / 473.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.1492, allocations: 15.92 kB / 473.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1492, allocations: 4 kB / 473.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1492, allocations: 0 / 473.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1492, allocations: 3.938 kB / 473.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1492, allocations: 0 / 473.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1494, allocations: 175.4 kB / 473.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1495, allocations: 85 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1495, allocations: 4 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.1496, allocations: 3.938 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1496, allocations: 7.984 kB / 473.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1496, allocations: 4 kB / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.1497, allocations: 107.3 kB / 473.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1497, allocations: 0 / 473.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.15, allocations: 12 kB / 473.9 MB, free: 9.121 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 (5): * Single equations (assignments): 5 * 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.0009475/0.1509, allocations: 410.5 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1511, allocations: 43.91 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1511, allocations: 0 / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.1512, allocations: 23.98 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1516, allocations: 19.97 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.152, allocations: 187.2 kB / 474.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1524, allocations: 0.6965 MB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.1524, allocations: 11.98 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.1525, allocations: 11.44 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1525, allocations: 0 / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Templates: time 0.003597/0.1561, allocations: 1.027 MB / 476.3 MB, free: 6.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches