Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.88 kB / 417.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003033/0.1116, allocations: 1.696 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1133, allocations: 1.002 MB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.1134, allocations: 3.938 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1137, allocations: 47.81 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.114, allocations: 107.5 kB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1142, allocations: 71.67 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1144, allocations: 99.69 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.1144, allocations: 8.234 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.1145, allocations: 43.8 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.1146, allocations: 23.86 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1146, allocations: 4 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9e-05/0.1147, allocations: 39.97 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.1148, allocations: 23.92 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1149, allocations: 47.55 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.115, allocations: 119.8 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.115, allocations: 0 / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.115, allocations: 0 / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1151, allocations: 0 / 483.4 MB, free: 1.859 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.0004957/0.1156, allocations: 434.8 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1156, allocations: 8.031 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.1156, allocations: 16.75 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1159, allocations: 220.8 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1159, allocations: 4.375 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1159, allocations: 4.125 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1161, allocations: 53.61 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1161, allocations: 0 / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1161, allocations: 4 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1161, allocations: 4 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.1162, allocations: 15.98 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1164, allocations: 185.7 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1166, allocations: 54.61 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.1166, allocations: 28.78 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1167, allocations: 4 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1169, allocations: 67.33 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1169, allocations: 0 / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002599/0.1171, allocations: 97.48 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1172, allocations: 55.34 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1174, allocations: 271 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1175, allocations: 25.7 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.1175, allocations: 116.1 kB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1176, allocations: 11.91 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.1176, allocations: 21.66 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1178, allocations: 326.8 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.1178, allocations: 15.98 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1179, allocations: 33.7 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.118, allocations: 41.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.118, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001577/0.1182, allocations: 93.69 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1182, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1182, allocations: 8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1182, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.1183, allocations: 11.98 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1183, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1184, allocations: 11.88 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1184, allocations: 4 kB / 485.6 MB, free: 15.41 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 0.0001062/0.1185, allocations: 141.7 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1185, allocations: 11.91 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1186, allocations: 20.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1186, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1186, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1186, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.1187, allocations: 205.5 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1187, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.1188, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1188, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1188, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1188, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1188, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.119, allocations: 109 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.119, allocations: 96.91 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1191, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.1191, allocations: 7.938 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1191, allocations: 7.938 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1192, allocations: 0 / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1193, allocations: 208.4 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1193, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1195, allocations: 16 kB / 486.4 MB, free: 14.5 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.0009239/0.1205, allocations: 399.8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.1207, allocations: 55.91 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1207, allocations: 4 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.1207, allocations: 15.94 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.121, allocations: 39.89 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.1215, allocations: 262.5 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1218, allocations: 0.7127 MB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.1218, allocations: 16.78 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1219, allocations: 15.44 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1219, allocations: 4 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003932/0.1258, allocations: 1.532 MB / 489.5 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches