Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009244, allocations: 94.98 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 202.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 10.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.19 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002557, allocations: 12 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 63.57 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002021/0.1041, allocations: 1.438 MB / 485.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1063, allocations: 1.581 MB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.1064, allocations: 0 / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1067, allocations: 35.83 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.107, allocations: 83.75 kB / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1072, allocations: 63.86 kB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1073, allocations: 103.6 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.1074, allocations: 7.984 kB / 487.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.1075, allocations: 43.78 kB / 487.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1077, allocations: 43.78 kB / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1077, allocations: 0 / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1079, allocations: 103.9 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1079, allocations: 19.91 kB / 487.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.108, allocations: 57.5 kB / 487.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1082, allocations: 124 kB / 487.4 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1082, allocations: 3.938 kB / 487.4 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1082, allocations: 0 / 487.4 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1083, allocations: 4 kB / 487.4 MB, free: 424 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.0005034/0.1088, allocations: 407.2 kB / 487.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1088, allocations: 12.86 kB / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1089, allocations: 8.844 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1091, allocations: 208.7 kB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1091, allocations: 11.94 kB / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1092, allocations: 0 / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1093, allocations: 71.39 kB / 488.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1093, allocations: 0 / 488.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1093, allocations: 7.875 kB / 488.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1094, allocations: 0 / 488.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.1094, allocations: 23.97 kB / 488.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1098, allocations: 292.9 kB / 488.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.11, allocations: 50.69 kB / 488.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.11, allocations: 28.72 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1101, allocations: 4 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1102, allocations: 67.39 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1102, allocations: 0 / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005145/0.1108, allocations: 181.1 kB / 488.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1108, allocations: 81.05 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.111, allocations: 162.5 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.111, allocations: 29.7 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.1111, allocations: 100.1 kB / 489.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1111, allocations: 23.66 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1112, allocations: 13.72 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1113, allocations: 322.8 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.1113, allocations: 23.98 kB / 489.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.1114, allocations: 42.56 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1115, allocations: 61.67 kB / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1115, allocations: 0 / 489.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1117, allocations: 101.5 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1117, allocations: 8 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1118, allocations: 0 / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1118, allocations: 0 / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.1119, allocations: 15.98 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1119, allocations: 8.094 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1119, allocations: 0 / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.112, allocations: 12.03 kB / 489.8 MB, free: 13.83 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.221e-05/0.1121, allocations: 124.9 kB / 489.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1121, allocations: 11.81 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.1121, allocations: 16.7 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1121, allocations: 3.938 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1122, allocations: 3.938 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1122, allocations: 3.984 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1126, allocations: 395.4 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1126, allocations: 8.25 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1127, allocations: 11.94 kB / 490.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1127, allocations: 4 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1127, allocations: 4 kB / 490.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1127, allocations: 4 kB / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1127, allocations: 192 / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1129, allocations: 196.3 kB / 490.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.113, allocations: 100.9 kB / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.113, allocations: 0 / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.1131, allocations: 11.98 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1132, allocations: 7.938 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1132, allocations: 4 kB / 490.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1133, allocations: 124.5 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1133, allocations: 0 / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1136, allocations: 43.98 kB / 490.8 MB, free: 12.67 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.1148, allocations: 0.5359 MB / 491.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.115, allocations: 59.91 kB / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.115, allocations: 0 / 491.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.1151, allocations: 36.03 kB / 491.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1155, allocations: 31.92 kB / 491.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.1159, allocations: 255.7 kB / 491.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1162, allocations: 0.6965 MB / 492.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1162, allocations: 19.42 kB / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1162, allocations: 0 / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004278/0.1205, allocations: 2.383 MB / 494.8 MB, free: 8.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches