Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.00132, allocations: 103.5 kB / 17.98 MB, free: 5.402 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.001378/0.001378, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.305/1.305, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.1935/0.1935, allocations: 44.17 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.28 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00305/0.1126, allocations: 1.757 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.114, allocations: 0.8653 MB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.1141, allocations: 4 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1145, allocations: 43.83 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1147, allocations: 47.83 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1151, allocations: 87.83 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1152, allocations: 95.7 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1154, allocations: 16.2 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.1155, allocations: 47.73 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.1155, allocations: 27.86 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1156, allocations: 4 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1157, allocations: 47.97 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.1158, allocations: 19.92 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.1158, allocations: 35.73 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.116, allocations: 88.11 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.116, allocations: 0 / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.116, allocations: 0 / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.116, allocations: 0 / 472.6 MB, free: 11.53 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.0007081/0.1168, allocations: 422.8 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1168, allocations: 12.03 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1169, allocations: 8.844 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1171, allocations: 212.8 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1171, allocations: 4.375 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1172, allocations: 8.125 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1174, allocations: 53.67 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1174, allocations: 0 / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1174, allocations: 3.984 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1174, allocations: 4 kB / 473.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.1175, allocations: 19.94 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1179, allocations: 292.8 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1181, allocations: 54.62 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.1181, allocations: 28.84 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1182, allocations: 0 / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1184, allocations: 67.33 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1184, allocations: 0 / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006451/0.119, allocations: 173.1 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1191, allocations: 55.41 kB / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1193, allocations: 195.3 kB / 474.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1194, allocations: 29.7 kB / 474.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.1194, allocations: 108.1 kB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.1195, allocations: 23.7 kB / 474.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1196, allocations: 25.7 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1197, allocations: 326.8 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.1198, allocations: 20 kB / 474.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1199, allocations: 33.7 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.12, allocations: 69.64 kB / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.12, allocations: 0 / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1202, allocations: 97.52 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1202, allocations: 11.94 kB / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1203, allocations: 0 / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1203, allocations: 0 / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.1204, allocations: 12.38 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1204, allocations: 4 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1204, allocations: 19.95 kB / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1205, allocations: 4 kB / 474.9 MB, free: 8.934 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.0001772/0.1206, allocations: 117.8 kB / 475 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1207, allocations: 15.81 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1207, allocations: 17.39 kB / 475.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1207, allocations: 0 / 475.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1207, allocations: 3.984 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1208, allocations: 7.938 kB / 475.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.1212, allocations: 391.3 kB / 475.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1212, allocations: 4 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1213, allocations: 11.92 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1213, allocations: 4 kB / 475.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1213, allocations: 7.938 kB / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1213, allocations: 192 / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1213, allocations: 4.234 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1215, allocations: 212.1 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.1216, allocations: 81.02 kB / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1216, allocations: 15.92 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1217, allocations: 0 / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1218, allocations: 4 kB / 475.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.1218, allocations: 11.92 kB / 475.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1219, allocations: 148.9 kB / 475.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1219, allocations: 4 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1222, allocations: 27.98 kB / 476 MB, free: 7.762 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.001069/0.1233, allocations: 459 kB / 476.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1235, allocations: 63.89 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1235, allocations: 0 / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1236, allocations: 31.98 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1239, allocations: 27.92 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.1245, allocations: 296.8 kB / 476.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1248, allocations: 0.7041 MB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.1248, allocations: 15.44 kB / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1248, allocations: 0 / 477.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.003915/0.1287, allocations: 1.923 MB / 479.5 MB, free: 4.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches