Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.1 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 72 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 62.46 MB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002863/0.1162, allocations: 1.611 MB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1172, allocations: 0.5455 MB / 483.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.1172, allocations: 0 / 483.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1175, allocations: 71.77 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1178, allocations: 99.59 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1181, allocations: 111.3 kB / 483.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1182, allocations: 83.8 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.1183, allocations: 16 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.1184, allocations: 47.77 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1185, allocations: 43.84 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1185, allocations: 4 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.1186, allocations: 47.97 kB / 484.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.1187, allocations: 19.92 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1187, allocations: 31.75 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1189, allocations: 111.6 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1189, allocations: 0 / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1189, allocations: 0 / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1189, allocations: 3.938 kB / 484.3 MB, free: 1.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004583/0.1194, allocations: 403 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1194, allocations: 8.031 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1195, allocations: 12.75 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1197, allocations: 200.1 kB / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1198, allocations: 8.375 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1198, allocations: 384 / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1199, allocations: 61.8 kB / 485 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1199, allocations: 3.984 kB / 485 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.12, allocations: 0 / 485 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.12, allocations: 0 / 485 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1201, allocations: 31.91 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1205, allocations: 300.8 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.1206, allocations: 46.48 kB / 485.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1206, allocations: 16.95 kB / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1207, allocations: 3.984 kB / 485.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1207, allocations: 34.56 kB / 485.4 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1207, allocations: 0 / 485.4 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008399/0.1216, allocations: 252.9 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1216, allocations: 51.41 kB / 485.7 MB, free: 48 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1218, allocations: 207.3 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1218, allocations: 25.7 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1219, allocations: 108.1 kB / 486 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1219, allocations: 23.56 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.122, allocations: 25.7 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1221, allocations: 322.8 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.1222, allocations: 27.98 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.1223, allocations: 31.97 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1224, allocations: 76.77 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1224, allocations: 4 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001963/0.1226, allocations: 109.5 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1227, allocations: 8 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1227, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1227, allocations: 3.938 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.1228, allocations: 15.98 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1228, allocations: 4 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.1228, allocations: 11.94 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1229, allocations: 4 kB / 486.7 MB, free: 15.01 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 (8): * Single equations (assignments): 8 * 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.994e-05/0.123, allocations: 125.8 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.123, allocations: 19.81 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.1233, allocations: 123.3 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1233, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1233, allocations: 4 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1233, allocations: 7.938 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.1238, allocations: 419.4 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1238, allocations: 0 / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.1239, allocations: 19.92 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1239, allocations: 7.938 kB / 487.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1239, allocations: 4 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.124, allocations: 0 / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.124, allocations: 4.031 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1242, allocations: 208.6 kB / 487.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1243, allocations: 92.94 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1243, allocations: 7.938 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.1244, allocations: 0 / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1244, allocations: 15.97 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1244, allocations: 7.938 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1246, allocations: 151.9 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1248, allocations: 24 kB / 487.9 MB, free: 13.68 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001026/0.1259, allocations: 451.8 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1261, allocations: 67.95 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1261, allocations: 0 / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.1262, allocations: 47.89 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1265, allocations: 26.28 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.127, allocations: 259.1 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1273, allocations: 0.7118 MB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.18e-05/0.1274, allocations: 28.89 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1274, allocations: 19.42 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1274, allocations: 0 / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Templates: time 0.003778/0.1312, allocations: 1.378 MB / 490.9 MB, free: 10.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches