Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 115.8 kB / 18.41 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 207.5 kB / 19.36 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002851/0.1096, allocations: 1.595 MB / 483.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1111, allocations: 1.16 MB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.1112, allocations: 7.938 kB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1114, allocations: 15.86 kB / 484.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1117, allocations: 83.61 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1119, allocations: 91.33 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1121, allocations: 67.89 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.1122, allocations: 11.98 kB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.1122, allocations: 31.8 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1124, allocations: 39.83 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1124, allocations: 4 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1125, allocations: 95.94 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.1126, allocations: 11.98 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.1126, allocations: 27.73 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1128, allocations: 139.7 kB / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1129, allocations: 0 / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1129, allocations: 0 / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1129, allocations: 0 / 484.8 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.0004405/0.1133, allocations: 403.1 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1134, allocations: 8.031 kB / 485.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.1134, allocations: 4.938 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1136, allocations: 200 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.1136, allocations: 384 / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1137, allocations: 12.38 kB / 485.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1138, allocations: 71.52 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1138, allocations: 0 / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1139, allocations: 0 / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1139, allocations: 0 / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.831e-05/0.114, allocations: 23.98 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1143, allocations: 285 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1145, allocations: 38.56 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.1146, allocations: 20.94 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1146, allocations: 0 / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1146, allocations: 34.56 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1146, allocations: 0 / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004947/0.1151, allocations: 145.2 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1152, allocations: 81.05 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1153, allocations: 148.1 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1154, allocations: 29.69 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.1154, allocations: 92.14 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1154, allocations: 15.72 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1155, allocations: 29.7 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.1156, allocations: 314.8 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.1156, allocations: 23.92 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1157, allocations: 33.69 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1158, allocations: 44.84 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1158, allocations: 4.031 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.116, allocations: 77.66 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.116, allocations: 4 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.116, allocations: 0 / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1161, allocations: 0 / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.1161, allocations: 19.92 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1161, allocations: 0 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1162, allocations: 4 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1162, allocations: 4.25 kB / 487 MB, free: 14.76 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 7.407e-05/0.1163, allocations: 121.8 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1163, allocations: 7.906 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.1165, allocations: 93.95 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1165, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1166, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1166, allocations: 0 / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.1169, allocations: 358.3 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1169, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.117, allocations: 11.98 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.117, allocations: 4 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.117, allocations: 0 / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.117, allocations: 3.938 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.117, allocations: 0 / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1172, allocations: 187.6 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1173, allocations: 85.11 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1173, allocations: 3.984 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1174, allocations: 15.86 kB / 487.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.1174, allocations: 0 / 487.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1174, allocations: 4 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.1175, allocations: 113.3 kB / 487.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1175, allocations: 0 / 487.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1178, allocations: 36 kB / 488 MB, free: 13.63 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.0009798/0.1188, allocations: 498 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.119, allocations: 51.91 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.119, allocations: 0 / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.119, allocations: 23.98 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1194, allocations: 11.98 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.1197, allocations: 173.4 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1199, allocations: 0.6885 MB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.12, allocations: 7.984 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.12, allocations: 19.42 kB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.12, allocations: 0 / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.003782/0.1238, allocations: 1.755 MB / 491.2 MB, free: 10.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches