Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 103.3 kB / 17.21 MB, free: 6.266 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.001365/0.001365, allocations: 190 kB / 18.12 MB, free: 5.363 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.405/1.405, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2397/0.2397, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 72.47 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1321, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002851/0.135, allocations: 1.66 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.1358, allocations: 431.2 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1359, allocations: 0 / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1361, allocations: 31.83 kB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1363, allocations: 35.91 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1365, allocations: 95.81 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1367, allocations: 79.77 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1368, allocations: 28.27 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.1369, allocations: 27.91 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.137, allocations: 39.78 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.137, allocations: 0 / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.1371, allocations: 39.98 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.1371, allocations: 27.84 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1372, allocations: 23.81 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1373, allocations: 115.6 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1374, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1374, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1374, allocations: 0 / 471.1 MB, free: 12.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004973/0.1379, allocations: 399.2 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1379, allocations: 8.031 kB / 471.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.138, allocations: 8.844 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1382, allocations: 200 kB / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1382, allocations: 384 / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1382, allocations: 12.38 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1384, allocations: 76.42 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1384, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1384, allocations: 3.938 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1385, allocations: 7.984 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1386, allocations: 43.97 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1391, allocations: 336.6 kB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1392, allocations: 62.55 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.1393, allocations: 24.84 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1394, allocations: 4 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1394, allocations: 30.56 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.1394, allocations: 4 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001171/0.1406, allocations: 329 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1406, allocations: 51.41 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1408, allocations: 156.2 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1408, allocations: 33.7 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.1409, allocations: 104 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.1409, allocations: 39.36 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.141, allocations: 29.7 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1411, allocations: 322.8 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1412, allocations: 43.97 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/0.1413, allocations: 43.97 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1415, allocations: 122.9 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1415, allocations: 0 / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002568/0.1418, allocations: 145.7 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1418, allocations: 4 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1418, allocations: 3.938 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1418, allocations: 0 / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.142, allocations: 31.98 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.142, allocations: 4 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.142, allocations: 7.984 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.142, allocations: 7.938 kB / 473.8 MB, free: 9.34 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 (13): * Single equations (assignments): 13 * 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.0001148/0.1422, allocations: 125.8 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1422, allocations: 15.89 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.1426, allocations: 187 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1426, allocations: 8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1427, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1427, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.1433, allocations: 495 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1433, allocations: 0 / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/0.1434, allocations: 28.02 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1434, allocations: 0 / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1434, allocations: 12 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1434, allocations: 0 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1434, allocations: 0 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1438, allocations: 267.7 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1438, allocations: 85.02 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1438, allocations: 0 / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.1439, allocations: 11.98 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1439, allocations: 8 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.144, allocations: 7.984 kB / 475 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.74e-05/0.144, allocations: 116.8 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1441, allocations: 0 / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1443, allocations: 27.98 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009571/0.1453, allocations: 452.9 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1456, allocations: 119.8 kB / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1456, allocations: 0 / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1457, allocations: 59.91 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1461, allocations: 21.81 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.1467, allocations: 288.8 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1471, allocations: 0.7082 MB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.617e-05/0.1471, allocations: 28.39 kB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.1472, allocations: 23.38 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of SimCode: time 1.163e-05/0.1472, allocations: 0 / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of Templates: time 0.004633/0.1519, allocations: 1.496 MB / 478.3 MB, free: 4.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches