Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001013, allocations: 101.9 kB / 18.01 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.001156/0.001156, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000245/0.0002451, allocations: 12 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09947, allocations: 63.55 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002087/0.1016, allocations: 1.438 MB / 485.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1032, allocations: 0.9902 MB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.1033, allocations: 0 / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1035, allocations: 39.83 kB / 486.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1038, allocations: 83.73 kB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.104, allocations: 59.88 kB / 486.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1042, allocations: 103.6 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.1043, allocations: 8 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.1044, allocations: 35.8 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.1045, allocations: 39.77 kB / 486.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1045, allocations: 4 kB / 486.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.1046, allocations: 39.98 kB / 486.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1046, allocations: 31.86 kB / 486.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1047, allocations: 57.44 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1049, allocations: 91.89 kB / 486.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1049, allocations: 0 / 486.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1049, allocations: 0 / 486.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1049, allocations: 0 / 486.8 MB, free: 1.07 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.0005859/0.1055, allocations: 399.1 kB / 487.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1055, allocations: 12.88 kB / 487.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1056, allocations: 8.844 kB / 487.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1058, allocations: 212.7 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1058, allocations: 4.375 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1058, allocations: 12.06 kB / 487.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.106, allocations: 57.67 kB / 487.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.106, allocations: 0 / 487.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.106, allocations: 3.984 kB / 487.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.106, allocations: 0 / 487.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.1061, allocations: 19.98 kB / 487.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1065, allocations: 288.9 kB / 487.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1067, allocations: 58.62 kB / 487.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.1068, allocations: 20.84 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1069, allocations: 7.906 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.107, allocations: 67.39 kB / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.107, allocations: 0 / 487.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.1076, allocations: 169.2 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1076, allocations: 55.41 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1078, allocations: 190.9 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1078, allocations: 29.7 kB / 488.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1079, allocations: 108.1 kB / 488.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1079, allocations: 19.72 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.108, allocations: 17.7 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1081, allocations: 330.8 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1082, allocations: 19.94 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.1082, allocations: 33.7 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1083, allocations: 65.77 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1084, allocations: 0 / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1085, allocations: 109.4 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1086, allocations: 8 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1086, allocations: 0 / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1086, allocations: 192 / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1087, allocations: 12 kB / 489 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1087, allocations: 7.938 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.1088, allocations: 11.92 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1088, allocations: 4 kB / 489.1 MB, free: 14.52 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.0001581/0.1089, allocations: 129.8 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.109, allocations: 11.91 kB / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.109, allocations: 25.31 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.109, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.109, allocations: 0 / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.109, allocations: 3.938 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1095, allocations: 395.2 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1095, allocations: 4.359 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1095, allocations: 12.03 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1095, allocations: 4 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1095, allocations: 7.938 kB / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1096, allocations: 0 / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1096, allocations: 0 / 489.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1099, allocations: 204.2 kB / 489.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1099, allocations: 92.91 kB / 489.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.11, allocations: 11.94 kB / 489.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.11, allocations: 4 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1101, allocations: 3.984 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1101, allocations: 4 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1102, allocations: 152.7 kB / 490.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1102, allocations: 0 / 490.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1105, allocations: 28 kB / 490.1 MB, free: 13.34 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.001065/0.1116, allocations: 454.8 kB / 490.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1118, allocations: 63.91 kB / 490.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1118, allocations: 0 / 490.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.1119, allocations: 36.14 kB / 490.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1122, allocations: 27.12 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1128, allocations: 291.9 kB / 491 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1132, allocations: 0.7043 MB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1133, allocations: 15.44 kB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1133, allocations: 0 / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.00413/0.1174, allocations: 1.926 MB / 493.6 MB, free: 9.945 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches