Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 209.7 kB / 18.79 MB, free: 4.578 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 / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 76.88 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 62.44 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003076/0.1109, allocations: 1.665 MB / 481.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.1119, allocations: 0.5456 MB / 482.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.1119, allocations: 0 / 482.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1122, allocations: 75.78 kB / 482.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1125, allocations: 83.72 kB / 482.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1128, allocations: 83.22 kB / 482.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1129, allocations: 79.81 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.113, allocations: 19.98 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.1131, allocations: 27.86 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.1132, allocations: 55.81 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1132, allocations: 4 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.1133, allocations: 43.97 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1134, allocations: 23.92 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1134, allocations: 27.75 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1136, allocations: 83.81 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1136, allocations: 0 / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1136, allocations: 4 kB / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1136, allocations: 0 / 482.7 MB, free: 2.871 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.0004523/0.1141, allocations: 415.2 kB / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1141, allocations: 12.88 kB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1142, allocations: 8.844 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1144, allocations: 198.7 kB / 483.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1144, allocations: 384 / 483.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1144, allocations: 8.375 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1146, allocations: 61.77 kB / 483.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1146, allocations: 4 kB / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1146, allocations: 0 / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1146, allocations: 4 kB / 483.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1147, allocations: 27.91 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1151, allocations: 300.7 kB / 483.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1152, allocations: 46.55 kB / 483.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1153, allocations: 24.88 kB / 483.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1153, allocations: 3.938 kB / 483.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1154, allocations: 34.56 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1154, allocations: 0 / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008522/0.1162, allocations: 225.1 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1163, allocations: 51.41 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1165, allocations: 214.8 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1165, allocations: 29.69 kB / 484.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.1166, allocations: 100.1 kB / 484.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1166, allocations: 27.55 kB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1166, allocations: 25.72 kB / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1168, allocations: 326.8 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.1169, allocations: 23.97 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.1169, allocations: 23.98 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1171, allocations: 68.7 kB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1171, allocations: 0 / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.1173, allocations: 101.6 kB / 485.1 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1173, allocations: 8 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1173, allocations: 0 / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1173, allocations: 0 / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.1174, allocations: 15.98 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1175, allocations: 4 kB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1175, allocations: 11.92 kB / 485.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1175, allocations: 4 kB / 485.1 MB, free: 292 kB / 350.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 8.804e-05/0.1176, allocations: 129.8 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1177, allocations: 15.8 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.1179, allocations: 123.3 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1179, allocations: 3.984 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.118, allocations: 4 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.118, allocations: 4.141 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1185, allocations: 407.3 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1185, allocations: 0 / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.1186, allocations: 23.86 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1186, allocations: 7.938 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1186, allocations: 4 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1186, allocations: 0 / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1186, allocations: 0 / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1189, allocations: 204.2 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.1189, allocations: 85.02 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1189, allocations: 3.938 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.119, allocations: 11.98 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1191, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1191, allocations: 8 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1192, allocations: 164.7 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1192, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1195, allocations: 19.98 kB / 486.3 MB, free: 14.97 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.000996/0.1205, allocations: 459.9 kB / 486.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1207, allocations: 59.91 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1207, allocations: 0 / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.1208, allocations: 39.91 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1211, allocations: 19.98 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.1217, allocations: 310.5 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1219, allocations: 0.7082 MB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.122, allocations: 19.44 kB / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.122, allocations: 0 / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Templates: time 0.003442/0.1255, allocations: 1.757 MB / 489.7 MB, free: 11.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches