Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 96.11 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 205.9 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.7 MB / 247.5 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 46.19 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002459, allocations: 15.98 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002206/0.1123, allocations: 1.442 MB / 485.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1146, allocations: 1.577 MB / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.1147, allocations: 0 / 486.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.115, allocations: 39.83 kB / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1153, allocations: 79.75 kB / 486.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1155, allocations: 67.8 kB / 486.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1157, allocations: 99.7 kB / 487 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.1158, allocations: 8 kB / 487.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1159, allocations: 47.77 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1161, allocations: 39.78 kB / 487.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1161, allocations: 0 / 487.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1163, allocations: 107.9 kB / 487.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.1163, allocations: 19.91 kB / 487.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.1164, allocations: 53.5 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1166, allocations: 128 kB / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1166, allocations: 7.938 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1166, allocations: 0 / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1167, allocations: 0 / 487.4 MB, free: 408 kB / 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.00053/0.1172, allocations: 405.5 kB / 487.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1172, allocations: 12.88 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1173, allocations: 12.84 kB / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1175, allocations: 208.6 kB / 488.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1175, allocations: 7.938 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1176, allocations: 0 / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1177, allocations: 71.33 kB / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1178, allocations: 0 / 488.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1178, allocations: 3.938 kB / 488.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1178, allocations: 7.984 kB / 488.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.1179, allocations: 23.98 kB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.1182, allocations: 280.9 kB / 488.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1184, allocations: 58.61 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1184, allocations: 24.84 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1185, allocations: 11.98 kB / 488.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1187, allocations: 63.39 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1187, allocations: 0 / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005263/0.1192, allocations: 173.5 kB / 488.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.1193, allocations: 81.05 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1194, allocations: 162.5 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1195, allocations: 29.7 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.1195, allocations: 96.14 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.1196, allocations: 27.64 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1196, allocations: 17.72 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1197, allocations: 318.8 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.1198, allocations: 27.92 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.1199, allocations: 46.5 kB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.12, allocations: 61.73 kB / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.12, allocations: 0 / 489.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1202, allocations: 101.6 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1202, allocations: 4 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1202, allocations: 4.156 kB / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1202, allocations: 0 / 489.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.1203, allocations: 19.98 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1204, allocations: 7.922 kB / 489.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.1204, allocations: 12.03 kB / 489.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1204, allocations: 0 / 489.8 MB, free: 13.82 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 9.554e-05/0.1205, allocations: 128.4 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1206, allocations: 11.81 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.1206, allocations: 12.72 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1206, allocations: 0 / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1206, allocations: 3.938 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1206, allocations: 4 kB / 489.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1211, allocations: 395.3 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1211, allocations: 3.938 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.1211, allocations: 19.92 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1211, allocations: 0 / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1211, allocations: 4 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1212, allocations: 0 / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1212, allocations: 0 / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1214, allocations: 200.3 kB / 490.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1214, allocations: 96.94 kB / 490.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1215, allocations: 0 / 490.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.1216, allocations: 8 kB / 490.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1216, allocations: 7.984 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1216, allocations: 4 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1217, allocations: 124.5 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1217, allocations: 0 / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1221, allocations: 51.98 kB / 490.8 MB, free: 12.66 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.001225/0.1233, allocations: 0.5317 MB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1235, allocations: 67.89 kB / 491.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1235, allocations: 4.062 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.1236, allocations: 24 kB / 491.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1239, allocations: 35.84 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1244, allocations: 251.8 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1246, allocations: 0.6965 MB / 492.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.1247, allocations: 19.42 kB / 492.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1247, allocations: 0 / 492.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Templates: time 0.004277/0.129, allocations: 2.396 MB / 494.8 MB, free: 8.766 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches