Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, 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.001047/0.001047, 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.232/1.232, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 70.8 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 62.46 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002812/0.1082, allocations: 1.584 MB / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.1091, allocations: 0.5338 MB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.1091, allocations: 0 / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1093, allocations: 35.77 kB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1096, allocations: 75.69 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1098, allocations: 87.7 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.11, allocations: 71.77 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.1101, allocations: 12 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.1101, allocations: 23.91 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.1102, allocations: 23.86 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1102, allocations: 4 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.1103, allocations: 24 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.1103, allocations: 19.91 kB / 484 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1104, allocations: 23.81 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1105, allocations: 87.72 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1105, allocations: 3.938 kB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1105, allocations: 4 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1105, allocations: 0 / 484.1 MB, free: 1.902 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.0004044/0.1109, allocations: 395 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.111, allocations: 8.031 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.111, allocations: 8.844 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1112, allocations: 195.8 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.1112, allocations: 384 / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1112, allocations: 7.938 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1114, allocations: 49.69 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1114, allocations: 3.906 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1114, allocations: 3.984 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1114, allocations: 0 / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.1115, allocations: 35.84 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.1118, allocations: 272.9 kB / 485 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.112, allocations: 46.56 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.112, allocations: 16.88 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.112, allocations: 4 kB / 485.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1121, allocations: 38.56 kB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1121, allocations: 0 / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004748/0.1126, allocations: 141.3 kB / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1126, allocations: 51.41 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1128, allocations: 186.3 kB / 485.5 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1128, allocations: 25.7 kB / 485.5 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.1128, allocations: 100 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1129, allocations: 19.72 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1129, allocations: 17.72 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.113, allocations: 322.8 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1131, allocations: 23.98 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.1131, allocations: 19.98 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1133, allocations: 40.83 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1133, allocations: 0 / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.1134, allocations: 85.52 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1134, allocations: 8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1135, allocations: 4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1135, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.1135, allocations: 11.98 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1135, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.1136, allocations: 7.938 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1136, allocations: 4 kB / 486.2 MB, free: 15.57 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.39e-05/0.1137, allocations: 117.8 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1137, allocations: 7.906 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1139, allocations: 101.9 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1139, allocations: 4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.114, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.114, allocations: 3.938 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1143, allocations: 346.9 kB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1143, allocations: 0 / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.1144, allocations: 19.98 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1144, allocations: 3.938 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1144, allocations: 3.938 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1144, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1144, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.1146, allocations: 183.3 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1147, allocations: 81.02 kB / 487 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1147, allocations: 11.88 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1148, allocations: 4 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.1148, allocations: 11.92 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1148, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.1149, allocations: 134.3 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1149, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1152, allocations: 12 kB / 487.2 MB, free: 14.43 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.0008189/0.116, allocations: 405.7 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1162, allocations: 51.89 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1162, allocations: 0 / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.1162, allocations: 23.98 kB / 487.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1166, allocations: 15.94 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.117, allocations: 201.8 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1172, allocations: 0.6963 MB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1173, allocations: 15.84 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1173, allocations: 11.44 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1173, allocations: 0 / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.003127/0.1204, allocations: 1.124 MB / 489.7 MB, free: 11.99 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches