Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 76.97 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 62.45 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003209/0.1163, allocations: 1.789 MB / 482 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1179, allocations: 1.01 MB / 483 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.118, allocations: 0 / 483 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1184, allocations: 83.77 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1187, allocations: 99.72 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1189, allocations: 67.8 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1191, allocations: 115.7 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1192, allocations: 15.97 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.1193, allocations: 51.78 kB / 483.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1194, allocations: 63.69 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1194, allocations: 4 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.1195, allocations: 43.98 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1196, allocations: 27.91 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.1197, allocations: 35.75 kB / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1198, allocations: 100 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1198, allocations: 0 / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1198, allocations: 0 / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1199, allocations: 0 / 483.7 MB, free: 2.047 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.0005765/0.1204, allocations: 418.9 kB / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1205, allocations: 12.03 kB / 484.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1205, allocations: 16.73 kB / 484.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1208, allocations: 212.6 kB / 484.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1208, allocations: 12.36 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1208, allocations: 8.031 kB / 484.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.121, allocations: 53.67 kB / 484.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.121, allocations: 0 / 484.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.121, allocations: 4 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.121, allocations: 0 / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.1211, allocations: 15.98 kB / 484.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1215, allocations: 296.8 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1217, allocations: 58.67 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1218, allocations: 16.86 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1218, allocations: 4 kB / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.122, allocations: 75.31 kB / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.122, allocations: 4 kB / 484.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.1226, allocations: 177.1 kB / 485.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1226, allocations: 59.34 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1228, allocations: 220.3 kB / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1229, allocations: 29.7 kB / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.1229, allocations: 104.1 kB / 485.5 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.123, allocations: 31.58 kB / 485.5 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.123, allocations: 21.72 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1232, allocations: 334.8 kB / 485.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1233, allocations: 19.98 kB / 485.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.1233, allocations: 37.7 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1235, allocations: 61.62 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1235, allocations: 0 / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.1237, allocations: 105.5 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1237, allocations: 4 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1237, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1237, allocations: 4 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.1238, allocations: 19.92 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1238, allocations: 0 / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1239, allocations: 7.938 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1239, allocations: 0 / 486.1 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 (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.0001152/0.124, allocations: 136.3 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1241, allocations: 15.94 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.1241, allocations: 17.39 kB / 486.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1241, allocations: 4 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1241, allocations: 0 / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1241, allocations: 3.938 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1246, allocations: 399.2 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1246, allocations: 0 / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1247, allocations: 11.98 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1247, allocations: 4.031 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1247, allocations: 7.938 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1247, allocations: 4.312 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1247, allocations: 0 / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.125, allocations: 196.3 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.125, allocations: 88.92 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.1251, allocations: 15.92 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1252, allocations: 7.938 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1252, allocations: 8 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1252, allocations: 11.97 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1254, allocations: 165.2 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1254, allocations: 0 / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1256, allocations: 24.19 kB / 487.2 MB, free: 14.21 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.001639/0.1273, allocations: 459.4 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1275, allocations: 63.91 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1275, allocations: 0 / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.1276, allocations: 23.98 kB / 487.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.128, allocations: 35.05 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.1285, allocations: 313 kB / 488.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1288, allocations: 0.7118 MB / 488.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1289, allocations: 19.42 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1289, allocations: 3.938 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004173/0.1331, allocations: 1.991 MB / 490.8 MB, free: 10.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches