Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001508, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 79.78 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 62.44 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003054/0.1055, allocations: 1.789 MB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.107, allocations: 1.009 MB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.1071, allocations: 0 / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.1074, allocations: 43.89 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.1077, allocations: 79.67 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1079, allocations: 59.89 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1081, allocations: 107.7 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.1082, allocations: 15.98 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.1083, allocations: 39.73 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.1084, allocations: 43.77 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1084, allocations: 8 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.1085, allocations: 39.98 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.1086, allocations: 19.92 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.1086, allocations: 31.8 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1088, allocations: 119.8 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1088, allocations: 4 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1088, allocations: 0 / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1088, allocations: 0 / 482.9 MB, free: 2.203 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.0005/0.1094, allocations: 407 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1094, allocations: 12.03 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1094, allocations: 16.75 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1097, allocations: 208.1 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1097, allocations: 384 / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1097, allocations: 8.125 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1098, allocations: 57.61 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1099, allocations: 0 / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1099, allocations: 0 / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1099, allocations: 0 / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.11, allocations: 19.98 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1103, allocations: 292.9 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1105, allocations: 58.61 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.1105, allocations: 20.84 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1106, allocations: 0 / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.1107, allocations: 71.39 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1108, allocations: 0 / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.1113, allocations: 173.2 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1113, allocations: 51.41 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1115, allocations: 180 kB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1115, allocations: 29.7 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.1116, allocations: 108 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1116, allocations: 27.73 kB / 484.6 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1116, allocations: 21.72 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1118, allocations: 330.8 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1118, allocations: 19.98 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.1119, allocations: 37.64 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.112, allocations: 61.78 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.112, allocations: 4 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.1122, allocations: 105.4 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1123, allocations: 4 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1123, allocations: 384 / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1123, allocations: 4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.1124, allocations: 19.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1124, allocations: 4 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.1124, allocations: 7.938 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1125, allocations: 0 / 485.2 MB, free: 15.65 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.743e-05/0.1126, allocations: 133.8 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1126, allocations: 11.89 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.1126, allocations: 13.41 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1126, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1126, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1127, allocations: 11.92 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.1131, allocations: 399.2 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1131, allocations: 0 / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.1131, allocations: 8 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1131, allocations: 0 / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1131, allocations: 7.938 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1132, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1132, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1134, allocations: 200.3 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1135, allocations: 89 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1135, allocations: 11.88 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1136, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1136, allocations: 11.98 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1136, allocations: 4.188 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1137, allocations: 134.8 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1137, allocations: 7.875 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.114, allocations: 31.98 kB / 486.3 MB, free: 14.49 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.00103/0.115, allocations: 441.3 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1153, allocations: 67.89 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1153, allocations: 4.062 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.1154, allocations: 31.88 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1158, allocations: 34.88 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.1163, allocations: 247.2 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1166, allocations: 0.708 MB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.1167, allocations: 16.88 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1167, allocations: 15.44 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1167, allocations: 0 / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004402/0.1211, allocations: 1.706 MB / 489.5 MB, free: 11.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches