Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001073/0.001073, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.332/1.332, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2085/0.2085, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.36 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003373/0.1086, allocations: 1.688 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1101, allocations: 0.8886 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.1102, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1106, allocations: 43.75 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1109, allocations: 51.77 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1112, allocations: 118.6 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1114, allocations: 99.69 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1115, allocations: 8.234 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.1116, allocations: 43.78 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.1117, allocations: 27.84 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1118, allocations: 4 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1119, allocations: 39.98 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1119, allocations: 23.86 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.112, allocations: 39.72 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1123, allocations: 119.9 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1123, allocations: 0 / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1123, allocations: 0 / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1123, allocations: 0 / 473.1 MB, free: 11.17 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.0005669/0.1129, allocations: 414.9 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1129, allocations: 8.031 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.113, allocations: 12.78 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1132, allocations: 214.6 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1132, allocations: 8.375 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1133, allocations: 4.125 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1134, allocations: 53.67 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1134, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1135, allocations: 4 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1135, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1136, allocations: 15.98 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.114, allocations: 292.8 kB / 474.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1141, allocations: 66.61 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1142, allocations: 16.86 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1142, allocations: 7.922 kB / 474.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1145, allocations: 67.39 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.266e-06/0.1145, allocations: 4 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.115, allocations: 173.2 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1151, allocations: 55.39 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1152, allocations: 195.3 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1153, allocations: 29.7 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1153, allocations: 100.1 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1154, allocations: 23.7 kB / 474.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1154, allocations: 21.72 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1155, allocations: 338.7 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1156, allocations: 16.36 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1157, allocations: 37.7 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1158, allocations: 61.77 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1158, allocations: 4 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.116, allocations: 101.5 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.116, allocations: 8.031 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.116, allocations: 0 / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.116, allocations: 0 / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.1161, allocations: 23.98 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1161, allocations: 0 / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.1162, allocations: 11.88 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1162, allocations: 3.938 kB / 475.5 MB, free: 8.586 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 9.801e-05/0.1163, allocations: 129.8 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1163, allocations: 11.81 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1164, allocations: 21.39 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1164, allocations: 4 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1164, allocations: 0 / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1164, allocations: 3.938 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1168, allocations: 391.3 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1169, allocations: 0 / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1169, allocations: 8 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1169, allocations: 4.031 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1169, allocations: 7.922 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1169, allocations: 4 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1169, allocations: 0 / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1172, allocations: 204.3 kB / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.1172, allocations: 89 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1172, allocations: 7.875 kB / 476.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1173, allocations: 8 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1174, allocations: 11.98 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1174, allocations: 0 / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1175, allocations: 151.9 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1175, allocations: 0 / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1178, allocations: 20 kB / 476.5 MB, free: 7.426 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.00106/0.1188, allocations: 472.8 kB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.119, allocations: 59.92 kB / 477 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.119, allocations: 0 / 477 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1191, allocations: 32.06 kB / 477.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1195, allocations: 36.03 kB / 477.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.1199, allocations: 268.8 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1202, allocations: 0.708 MB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1202, allocations: 15.44 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1202, allocations: 0 / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Templates: time 0.00382/0.1241, allocations: 1.925 MB / 480 MB, free: 4.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches