Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, 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.2001/0.2001, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002906/0.1126, allocations: 1.688 MB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1142, allocations: 1.002 MB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1143, allocations: 0 / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1146, allocations: 59.75 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1149, allocations: 95.59 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1152, allocations: 75.67 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1153, allocations: 99.69 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.1154, allocations: 12.22 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.1155, allocations: 39.78 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.1156, allocations: 31.86 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1156, allocations: 7.922 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.1157, allocations: 31.98 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1158, allocations: 23.86 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.1158, allocations: 39.69 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.116, allocations: 131.5 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1161, allocations: 0 / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1161, allocations: 0 / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1161, allocations: 4 kB / 484.8 MB, free: 1.148 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005652/0.1167, allocations: 426.8 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1167, allocations: 8.031 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.1168, allocations: 16.75 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1171, allocations: 228.8 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1171, allocations: 384 / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1171, allocations: 12.06 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1173, allocations: 45.67 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1173, allocations: 4 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1173, allocations: 4 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1173, allocations: 0 / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1174, allocations: 15.98 kB / 485.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1176, allocations: 189.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1178, allocations: 50.56 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.1179, allocations: 28.84 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1179, allocations: 4 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.1181, allocations: 67.33 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1181, allocations: 0 / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002805/0.1183, allocations: 101.4 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1184, allocations: 51.41 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1187, allocations: 271 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1187, allocations: 25.7 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.1188, allocations: 112.1 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.1189, allocations: 19.88 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.1189, allocations: 17.72 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1191, allocations: 326.8 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.1191, allocations: 19.92 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.1192, allocations: 33.7 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.478e-05/0.1193, allocations: 41.66 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1193, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001716/0.1195, allocations: 89.42 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1195, allocations: 4 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1195, allocations: 4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1196, allocations: 0 / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.1196, allocations: 11.94 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1196, allocations: 4.188 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1197, allocations: 11.84 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1197, allocations: 11.97 kB / 487 MB, free: 14.7 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 (7): * Single equations (assignments): 7 * 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.0001152/0.1198, allocations: 135.7 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1199, allocations: 11.91 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1199, allocations: 17 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1199, allocations: 0 / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1199, allocations: 3.938 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1199, allocations: 3.984 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1201, allocations: 213.5 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1201, allocations: 0 / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.1202, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1202, allocations: 320 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1202, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1202, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1202, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1204, allocations: 116.9 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.1205, allocations: 92.92 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1205, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1205, allocations: 3.984 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1206, allocations: 8 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1206, allocations: 0 / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1208, allocations: 208.4 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1208, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000216/0.121, allocations: 16 kB / 487.8 MB, free: 13.79 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009683/0.122, allocations: 407.3 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1221, allocations: 39.92 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1222, allocations: 0 / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.1222, allocations: 23.98 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1225, allocations: 27.86 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.123, allocations: 274.4 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1233, allocations: 0.7128 MB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.505e-05/0.1234, allocations: 12.55 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1234, allocations: 19.44 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1234, allocations: 3.938 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.004188/0.1276, allocations: 1.525 MB / 490.9 MB, free: 10.85 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches