Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 110.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.5 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.17 MB / 336.8 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 64.34 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 60.83 MB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004832/0.1091, allocations: 1.753 MB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1115, allocations: 0.8692 MB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.1116, allocations: 0 / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.112, allocations: 55.8 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1124, allocations: 55.81 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1129, allocations: 95.77 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.1131, allocations: 91.7 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1132, allocations: 12.22 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1134, allocations: 39.78 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1135, allocations: 35.78 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1135, allocations: 4 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1137, allocations: 39.98 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1138, allocations: 35.84 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.1139, allocations: 35.69 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1141, allocations: 100.1 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1141, allocations: 0 / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1141, allocations: 0 / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1141, allocations: 4 kB / 472.4 MB, free: 11.54 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.0007534/0.1149, allocations: 434.8 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.115, allocations: 11.97 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.115, allocations: 12.75 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1154, allocations: 220 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1154, allocations: 384 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1155, allocations: 16.06 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1157, allocations: 53.67 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1157, allocations: 0 / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1157, allocations: 0 / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1158, allocations: 0 / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1159, allocations: 23.98 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1163, allocations: 300.8 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1165, allocations: 58.67 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.1166, allocations: 16.86 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1167, allocations: 4 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.1169, allocations: 71.33 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.1169, allocations: 0 / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006654/0.1176, allocations: 185 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.1177, allocations: 55.41 kB / 473.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.118, allocations: 262.9 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1181, allocations: 29.7 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.1182, allocations: 108.1 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.1183, allocations: 27.69 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.1183, allocations: 25.72 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1185, allocations: 330.8 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1186, allocations: 23.98 kB / 474.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1188, allocations: 37.64 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.119, allocations: 61.64 kB / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.119, allocations: 0 / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003422/0.1194, allocations: 105.5 kB / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1194, allocations: 4 kB / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1194, allocations: 0 / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1195, allocations: 0 / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1196, allocations: 23.92 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1197, allocations: 0 / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.1198, allocations: 3.938 kB / 474.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1198, allocations: 4 kB / 474.9 MB, free: 8.844 MB / 350.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.0001447/0.1199, allocations: 141.8 kB / 475 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.12, allocations: 15.81 kB / 475 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.1201, allocations: 25.77 kB / 475 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1201, allocations: 3.984 kB / 475 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1201, allocations: 3.938 kB / 475 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1201, allocations: 3.938 kB / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.1209, allocations: 403.3 kB / 475.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1209, allocations: 0 / 475.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.121, allocations: 12.03 kB / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.121, allocations: 0 / 475.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.121, allocations: 15.92 kB / 475.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.121, allocations: 3.938 kB / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.121, allocations: 0 / 475.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1214, allocations: 204.2 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1215, allocations: 88.92 kB / 475.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1216, allocations: 11.94 kB / 475.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1218, allocations: 4 kB / 475.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1218, allocations: 3.984 kB / 475.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.1218, allocations: 4 kB / 475.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.1221, allocations: 200.2 kB / 476 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1221, allocations: 0 / 476 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.1226, allocations: 27.98 kB / 476 MB, free: 7.59 MB / 350.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.001829/0.1244, allocations: 473.2 kB / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.1247, allocations: 63.95 kB / 476.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1247, allocations: 0 / 476.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1249, allocations: 28.06 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.1255, allocations: 30.94 kB / 476.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.1264, allocations: 335.2 kB / 476.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1268, allocations: 0.716 MB / 477.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.1269, allocations: 19.42 kB / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1269, allocations: 0 / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of Templates: time 0.006236/0.1332, allocations: 2.049 MB / 479.7 MB, free: 4.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches