Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 83.45 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1124, allocations: 62.44 MB / 480.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003512/0.116, allocations: 1.717 MB / 482.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1178, allocations: 1.033 MB / 483.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.1179, allocations: 0 / 483.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1182, allocations: 43.75 kB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.1187, allocations: 111.5 kB / 483.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1189, allocations: 71.75 kB / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1191, allocations: 103.6 kB / 483.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1192, allocations: 15.98 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.1193, allocations: 39.8 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.1194, allocations: 39.78 kB / 483.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1195, allocations: 4 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1196, allocations: 43.97 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.1197, allocations: 23.92 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.1197, allocations: 43.69 kB / 484 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.12, allocations: 143.7 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.12, allocations: 7.938 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.12, allocations: 0 / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.12, allocations: 0 / 484.1 MB, free: 1.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005707/0.1206, allocations: 442.7 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1206, allocations: 12.03 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1207, allocations: 8.844 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.121, allocations: 232.9 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.121, allocations: 384 / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.121, allocations: 8.125 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1212, allocations: 53.67 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1212, allocations: 3.938 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1212, allocations: 0 / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1212, allocations: 4 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.1213, allocations: 15.98 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.1217, allocations: 300.9 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1219, allocations: 54.69 kB / 485.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1219, allocations: 24.78 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.122, allocations: 0 / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1222, allocations: 75.39 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.1222, allocations: 0 / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.1228, allocations: 188.9 kB / 485.5 MB, free: 312 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1228, allocations: 51.41 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1231, allocations: 267 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1231, allocations: 29.7 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.1232, allocations: 112.1 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1232, allocations: 23.7 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1233, allocations: 25.72 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1234, allocations: 334.8 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.1235, allocations: 16 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.1236, allocations: 33.7 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1237, allocations: 69.62 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1237, allocations: 0 / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.1239, allocations: 113.4 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1239, allocations: 6.656 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1239, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1239, allocations: 192 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.124, allocations: 16 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1241, allocations: 3.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1241, allocations: 11.86 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1241, allocations: 4 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001129/0.1243, allocations: 137.9 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1243, allocations: 15.81 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.1243, allocations: 25.34 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1244, allocations: 3.984 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1244, allocations: 0 / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1244, allocations: 3.938 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.1248, allocations: 403.3 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1249, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.1249, allocations: 12.03 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1249, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1249, allocations: 7.938 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1249, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1249, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1252, allocations: 200.4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.1252, allocations: 92.92 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.1253, allocations: 12.31 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.1254, allocations: 3.938 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1254, allocations: 15.92 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1254, allocations: 4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1256, allocations: 204.4 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1259, allocations: 27.98 kB / 487.8 MB, free: 13.89 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001054/0.127, allocations: 461.6 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1272, allocations: 63.89 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1272, allocations: 0 / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1273, allocations: 32.06 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1276, allocations: 33.78 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.1282, allocations: 325.3 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1285, allocations: 0.7197 MB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1285, allocations: 15.44 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1285, allocations: 3.938 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.00402/0.1326, allocations: 2.103 MB / 491.5 MB, free: 10.26 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches