Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 75.62 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003254/0.1304, allocations: 1.591 MB / 483.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1321, allocations: 1.171 MB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.1322, allocations: 0 / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1324, allocations: 27.84 kB / 484.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1327, allocations: 79.62 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.133, allocations: 107.7 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1332, allocations: 75.75 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1333, allocations: 16 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.1334, allocations: 23.92 kB / 484.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1335, allocations: 35.84 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1336, allocations: 4 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1337, allocations: 99.86 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.1338, allocations: 15.92 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1338, allocations: 19.88 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1341, allocations: 139.6 kB / 484.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1341, allocations: 4 kB / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1341, allocations: 0 / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1341, allocations: 4 kB / 484.9 MB, free: 1.129 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.0005069/0.1346, allocations: 399.1 kB / 485.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1347, allocations: 8.031 kB / 485.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1347, allocations: 4.938 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1349, allocations: 194.5 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.135, allocations: 4.375 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.135, allocations: 4.312 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1351, allocations: 71.52 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1352, allocations: 0 / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1352, allocations: 7.984 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1352, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1353, allocations: 27.91 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.1357, allocations: 289.1 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1359, allocations: 50.55 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.136, allocations: 12.86 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.136, allocations: 8.078 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1361, allocations: 38.44 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1361, allocations: 0 / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005623/0.1366, allocations: 157.2 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1367, allocations: 77.11 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1369, allocations: 141.8 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1369, allocations: 29.7 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.1369, allocations: 92.12 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.137, allocations: 19.72 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.137, allocations: 13.72 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1371, allocations: 330.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1372, allocations: 19.98 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.1373, allocations: 33.7 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1374, allocations: 52.81 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1374, allocations: 0 / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001802/0.1376, allocations: 85.64 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1376, allocations: 10.03 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1376, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1377, allocations: 3.984 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.1377, allocations: 8 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1377, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.1378, allocations: 7.984 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1378, allocations: 4 kB / 487 MB, free: 14.72 MB / 366.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.007e-05/0.1379, allocations: 121.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1379, allocations: 7.906 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1382, allocations: 101.9 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1382, allocations: 7.938 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1382, allocations: 320 / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1382, allocations: 0 / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.1387, allocations: 362.4 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1387, allocations: 4 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.1387, allocations: 15.98 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1387, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1387, allocations: 3.938 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1388, allocations: 3.938 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1388, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.139, allocations: 183.4 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.1391, allocations: 85.11 kB / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1391, allocations: 0 / 487.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.1392, allocations: 11.92 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1392, allocations: 4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1392, allocations: 4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.1393, allocations: 111.2 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 3.938 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1396, allocations: 36 kB / 488.1 MB, free: 13.57 MB / 366.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.00115/0.1408, allocations: 490.9 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.141, allocations: 59.89 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.141, allocations: 0 / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1411, allocations: 27.98 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1415, allocations: 11.98 kB / 488.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1419, allocations: 185.5 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1422, allocations: 0.6924 MB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.661e-05/0.1423, allocations: 23.95 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1423, allocations: 23.42 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1423, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00445/0.1468, allocations: 1.749 MB / 491.3 MB, free: 10.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches