Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003398/0.1228, allocations: 1.595 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1246, allocations: 1.163 MB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.1247, allocations: 3.938 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1249, allocations: 27.84 kB / 484.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1252, allocations: 87.61 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1255, allocations: 107.4 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1257, allocations: 67.83 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1258, allocations: 19.98 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.1258, allocations: 23.92 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.126, allocations: 35.78 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.126, allocations: 4 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1262, allocations: 95.94 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.1262, allocations: 19.91 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.1263, allocations: 19.88 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1265, allocations: 151.6 kB / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1266, allocations: 0 / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1266, allocations: 0 / 484.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1266, allocations: 0 / 484.9 MB, free: 1.105 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.0005933/0.1272, allocations: 395.2 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1272, allocations: 8.031 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1273, allocations: 4.938 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1275, allocations: 192.1 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1276, allocations: 8.375 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1276, allocations: 8.375 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1278, allocations: 75.39 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1278, allocations: 0 / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1278, allocations: 3.938 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1278, allocations: 0 / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.128, allocations: 23.98 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1284, allocations: 284.9 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1287, allocations: 50.48 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1287, allocations: 12.86 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1287, allocations: 3.984 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1288, allocations: 38.64 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1288, allocations: 0 / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005463/0.1293, allocations: 153.2 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1294, allocations: 81.09 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1295, allocations: 144.5 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1296, allocations: 29.7 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.1296, allocations: 92.12 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1297, allocations: 23.7 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1297, allocations: 21.72 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1298, allocations: 322.8 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.1299, allocations: 19.98 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.13, allocations: 37.64 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1301, allocations: 56.81 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1301, allocations: 4.031 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001837/0.1303, allocations: 77.67 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1303, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1303, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1304, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.1304, allocations: 11.98 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1304, allocations: 256 / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1305, allocations: 7.984 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1305, allocations: 15.94 kB / 487 MB, free: 14.7 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 8.561e-05/0.1306, allocations: 117.8 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1306, allocations: 7.906 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.1309, allocations: 93.95 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1309, allocations: 0 / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1309, allocations: 3.938 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1309, allocations: 4 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1314, allocations: 370.3 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1314, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1314, allocations: 11.98 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1314, allocations: 0 / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1314, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1315, allocations: 3.938 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1315, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1317, allocations: 191.3 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.1317, allocations: 77.11 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1318, allocations: 4 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1318, allocations: 11.92 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1319, allocations: 4 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1319, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.132, allocations: 115.2 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.132, allocations: 0 / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.1323, allocations: 40 kB / 488.1 MB, free: 13.55 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.00107/0.1334, allocations: 495.2 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1336, allocations: 55.95 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1336, allocations: 0 / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.1337, allocations: 27.92 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1341, allocations: 21.8 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1345, allocations: 181.4 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1348, allocations: 0.6924 MB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.1348, allocations: 15.92 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.1349, allocations: 19.42 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1349, allocations: 4 kB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004228/0.1391, allocations: 1.749 MB / 491.3 MB, free: 10.42 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches