Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008948/0.0008948, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001054, allocations: 201.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003688, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001733/0.1038, allocations: 1.446 MB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1057, allocations: 1.577 MB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1058, allocations: 0 / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.106, allocations: 39.83 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1063, allocations: 79.75 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1064, allocations: 63.81 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1066, allocations: 99.69 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.1067, allocations: 15.98 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.1067, allocations: 39.8 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1069, allocations: 43.77 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1069, allocations: 7.938 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1071, allocations: 95.94 kB / 486.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.1071, allocations: 15.92 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1072, allocations: 57.48 kB / 486.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1074, allocations: 171.8 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1074, allocations: 0 / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1074, allocations: 0 / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1074, allocations: 4 kB / 486.8 MB, free: 412 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.0004604/0.1079, allocations: 407.2 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1079, allocations: 12.88 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.108, allocations: 8.844 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1082, allocations: 211.7 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1082, allocations: 3.938 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1082, allocations: 8 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1084, allocations: 71.33 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1084, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1084, allocations: 4 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.1084, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.1085, allocations: 15.98 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.1088, allocations: 288.9 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.109, allocations: 58.62 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1091, allocations: 24.84 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1091, allocations: 0 / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.1092, allocations: 63.39 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1093, allocations: 0 / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004817/0.1097, allocations: 185.1 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1098, allocations: 85.05 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.11, allocations: 158.5 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.11, allocations: 29.7 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.11, allocations: 96.12 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1101, allocations: 23.66 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1101, allocations: 25.64 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.1102, allocations: 322.8 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.1103, allocations: 23.94 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1103, allocations: 42.56 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1105, allocations: 53.7 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1105, allocations: 3.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.1107, allocations: 105.5 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1107, allocations: 4 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1107, allocations: 8.422 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1107, allocations: 4 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.1108, allocations: 12 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1108, allocations: 7.938 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1109, allocations: 7.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1109, allocations: 7.984 kB / 489.2 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 8.549e-05/0.111, allocations: 124.6 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.111, allocations: 11.81 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.111, allocations: 16.72 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.111, allocations: 7.984 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1111, allocations: 3.938 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1111, allocations: 0 / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.1115, allocations: 395.5 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1115, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1115, allocations: 11.94 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1115, allocations: 0 / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1115, allocations: 8.031 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1116, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1116, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1118, allocations: 204.2 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1118, allocations: 92.95 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1119, allocations: 7.984 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.1119, allocations: 0 / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.112, allocations: 12 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.112, allocations: 7.984 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1121, allocations: 124.5 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1121, allocations: 0 / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1124, allocations: 47.98 kB / 490.2 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.001124/0.1136, allocations: 0.5393 MB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1137, allocations: 55.91 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1137, allocations: 0 / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.1138, allocations: 39.91 kB / 490.8 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.0003294/0.1142, allocations: 27.92 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.1145, allocations: 226.1 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1147, allocations: 0.6965 MB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.1148, allocations: 16.88 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1149, allocations: 27.42 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1149, allocations: 0 / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.00473/0.1196, allocations: 2.272 MB / 494.1 MB, free: 8.906 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches