Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 106.5 kB / 17.32 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 205.8 kB / 18.26 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.4 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.2221/0.2221, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 86.98 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003348/0.1187, allocations: 1.792 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1203, allocations: 1.006 MB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1203, allocations: 0 / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1206, allocations: 43.83 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1209, allocations: 83.67 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.1211, allocations: 63.88 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1213, allocations: 111.6 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.1214, allocations: 12 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.1215, allocations: 47.77 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.1216, allocations: 31.8 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1216, allocations: 4 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.1217, allocations: 39.98 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.1218, allocations: 31.84 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1218, allocations: 39.72 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.122, allocations: 119.9 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.122, allocations: 8 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.122, allocations: 0 / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.122, allocations: 0 / 482.9 MB, free: 2.188 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.0006096/0.1227, allocations: 418.9 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1227, allocations: 8.031 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1228, allocations: 8.844 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.123, allocations: 219.9 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.123, allocations: 384 / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.123, allocations: 8.125 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1232, allocations: 57.67 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1232, allocations: 0 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1232, allocations: 4 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1232, allocations: 0 / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.1233, allocations: 19.98 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1236, allocations: 284.9 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1238, allocations: 62.62 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.1239, allocations: 20.84 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1239, allocations: 4 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1241, allocations: 63.39 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1241, allocations: 0 / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.1247, allocations: 181 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1247, allocations: 55.41 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.125, allocations: 202.9 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.125, allocations: 33.7 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.1251, allocations: 100.1 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.1251, allocations: 31.62 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1252, allocations: 29.66 kB / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1253, allocations: 326.8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.1254, allocations: 23.98 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1255, allocations: 41.64 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1256, allocations: 49.72 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1256, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.1258, allocations: 109.4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1258, allocations: 4 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1258, allocations: 4.406 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1258, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.1259, allocations: 19.98 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1259, allocations: 3.938 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.126, allocations: 11.94 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.126, allocations: 0 / 485.3 MB, free: 15.59 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.000103/0.1261, allocations: 133.8 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1261, allocations: 7.906 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1262, allocations: 17.41 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1262, allocations: 4 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1262, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1262, allocations: 7.922 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1267, allocations: 399.2 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1267, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.1267, allocations: 8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1267, allocations: 4 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1267, allocations: 7.922 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1267, allocations: 4.266 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1267, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1271, allocations: 212.2 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.1271, allocations: 84.92 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1272, allocations: 7.938 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1272, allocations: 3.984 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1273, allocations: 11.98 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1273, allocations: 8 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1274, allocations: 156.3 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1274, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1277, allocations: 31.92 kB / 486.4 MB, free: 14.4 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.001024/0.1287, allocations: 450.6 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1289, allocations: 63.91 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1289, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.129, allocations: 31.94 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1294, allocations: 26.97 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.1298, allocations: 263.3 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1302, allocations: 0.708 MB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1303, allocations: 21.17 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.1303, allocations: 23.38 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1303, allocations: 0 / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004376/0.1347, allocations: 1.706 MB / 489.6 MB, free: 11.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches