Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001185, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 79.16 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002877/0.1162, allocations: 1.595 MB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1178, allocations: 1.152 MB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.1178, allocations: 7.938 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.118, allocations: 31.78 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1183, allocations: 79.62 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1186, allocations: 87.7 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1187, allocations: 71.81 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1188, allocations: 12 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.1189, allocations: 27.86 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.119, allocations: 39.47 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.119, allocations: 4 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1192, allocations: 95.86 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.1192, allocations: 8 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1193, allocations: 27.8 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1195, allocations: 135.7 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1195, allocations: 7.938 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1195, allocations: 0 / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1195, allocations: 0 / 483.4 MB, free: 1.91 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.0005072/0.1201, allocations: 399.4 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1201, allocations: 12.03 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1202, allocations: 4.938 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1204, allocations: 196.1 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1204, allocations: 384 / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1204, allocations: 4.375 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1206, allocations: 71.47 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1206, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1206, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1206, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.1207, allocations: 23.97 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1211, allocations: 280.9 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1213, allocations: 42.5 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1214, allocations: 24.94 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1214, allocations: 0 / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1215, allocations: 30.56 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1215, allocations: 0 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.122, allocations: 153.2 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.1221, allocations: 89.09 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1223, allocations: 144 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1223, allocations: 29.64 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1224, allocations: 92.14 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1224, allocations: 15.7 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1224, allocations: 21.72 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1226, allocations: 326.8 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.1227, allocations: 15.98 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.1227, allocations: 37.64 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1229, allocations: 44.83 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1229, allocations: 4.031 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.1231, allocations: 77.61 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1231, allocations: 8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1231, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1231, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1232, allocations: 11.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1232, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1233, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1233, allocations: 11.92 kB / 485.5 MB, free: 15.54 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.019e-05/0.1234, allocations: 117.8 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.1234, allocations: 7.906 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.1236, allocations: 89.91 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1237, allocations: 4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1237, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1237, allocations: 320 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1241, allocations: 362.4 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1241, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.1242, allocations: 11.94 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1242, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1242, allocations: 7.984 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1242, allocations: 3.938 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1242, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1244, allocations: 175.4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.1245, allocations: 77.11 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1245, allocations: 7.984 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.1246, allocations: 11.94 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1246, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1247, allocations: 3.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.1247, allocations: 117.3 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1248, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000279/0.125, allocations: 39.98 kB / 486.5 MB, free: 14.41 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.001072/0.1261, allocations: 486.7 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1263, allocations: 51.89 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1263, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.1264, allocations: 27.92 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1268, allocations: 18.64 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.1272, allocations: 173.4 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1275, allocations: 0.6924 MB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.1276, allocations: 16.23 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.1276, allocations: 19.42 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1276, allocations: 0 / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004266/0.1319, allocations: 1.742 MB / 489.7 MB, free: 11.31 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches