Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 84.8 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09898, allocations: 62.44 MB / 480.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00279/0.1018, allocations: 1.749 MB / 481.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1032, allocations: 0.9862 MB / 482.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.1033, allocations: 7.938 kB / 482.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1036, allocations: 59.86 kB / 483 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.1039, allocations: 87.73 kB / 483 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1041, allocations: 67.8 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1042, allocations: 99.7 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1043, allocations: 16.2 kB / 483.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1044, allocations: 43.78 kB / 483.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.1045, allocations: 55.75 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1045, allocations: 8 kB / 483.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.1046, allocations: 24 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.1046, allocations: 19.92 kB / 483.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.1047, allocations: 35.73 kB / 483.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1048, allocations: 80.11 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1049, allocations: 0 / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1049, allocations: 4 kB / 483.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1049, allocations: 0 / 483.5 MB, free: 2.281 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.0004439/0.1053, allocations: 418.8 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1054, allocations: 12.03 kB / 483.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1054, allocations: 8.844 kB / 483.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1056, allocations: 208.8 kB / 484.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1056, allocations: 4.375 kB / 484.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1056, allocations: 8.125 kB / 484.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1058, allocations: 45.67 kB / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1058, allocations: 0 / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1058, allocations: 0 / 484.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1058, allocations: 4 kB / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.238e-05/0.1059, allocations: 19.94 kB / 484.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.106, allocations: 181.7 kB / 484.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1062, allocations: 46.62 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1063, allocations: 24.78 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1063, allocations: 0 / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1065, allocations: 71.39 kB / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1065, allocations: 0 / 484.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002599/0.1067, allocations: 97.42 kB / 484.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1068, allocations: 51.41 kB / 484.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1069, allocations: 194.9 kB / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.107, allocations: 25.7 kB / 484.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.107, allocations: 104.1 kB / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.107, allocations: 15.91 kB / 485 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1071, allocations: 21.7 kB / 485 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.1072, allocations: 322.8 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1072, allocations: 12 kB / 485.3 MB, free: 212 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.1073, allocations: 25.7 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.1074, allocations: 49.64 kB / 485.4 MB, free: 124 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1074, allocations: 4 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001406/0.1075, allocations: 89.62 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1076, allocations: 10.34 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1076, allocations: 0 / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1076, allocations: 0 / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.1077, allocations: 16 kB / 485.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.1077, allocations: 7.984 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.1077, allocations: 0 / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1077, allocations: 4 kB / 485.5 MB, free: 15.99 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 8.563e-05/0.1078, allocations: 125.8 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1079, allocations: 15.8 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.1079, allocations: 13 kB / 485.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1079, allocations: 4 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1079, allocations: 0 / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1079, allocations: 3.984 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.108, allocations: 197.5 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1081, allocations: 0 / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.1081, allocations: 7.938 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1081, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1081, allocations: 4 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1081, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1081, allocations: 0 / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1083, allocations: 109 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1083, allocations: 85.02 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1083, allocations: 0 / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.1084, allocations: 7.984 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1084, allocations: 8 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1084, allocations: 4 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1086, allocations: 152.7 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1086, allocations: 0 / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.1088, allocations: 12 kB / 486.3 MB, free: 15.16 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.0008254/0.1096, allocations: 410.7 kB / 486.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1098, allocations: 39.97 kB / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1098, allocations: 4.062 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.1098, allocations: 19.94 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1101, allocations: 38.84 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.1105, allocations: 255.6 kB / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1107, allocations: 0.7049 MB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1107, allocations: 11.44 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1107, allocations: 4 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.003001/0.1137, allocations: 1.718 MB / 489.5 MB, free: 12.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches