Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001407/0.001407, allocations: 192 kB / 18.56 MB, free: 4.434 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.356/1.356, allocations: 222.9 MB / 242.2 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.2117/0.2117, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.8 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00295/0.1187, allocations: 1.7 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1201, allocations: 0.8769 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1202, allocations: 4 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1204, allocations: 51.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1207, allocations: 51.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1209, allocations: 111.6 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1211, allocations: 103.7 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.1212, allocations: 12.22 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.1213, allocations: 39.8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1214, allocations: 31.84 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1214, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.1215, allocations: 39.92 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.1215, allocations: 23.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1216, allocations: 35.73 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1218, allocations: 127.8 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1218, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1218, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1218, allocations: 3.984 kB / 472.5 MB, free: 11.15 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.000488/0.1223, allocations: 414.9 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1223, allocations: 8.031 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.1224, allocations: 20.75 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1226, allocations: 208 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1226, allocations: 4.312 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1226, allocations: 16.11 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1228, allocations: 53.67 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1228, allocations: 0 / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1228, allocations: 0 / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1228, allocations: 0 / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.1229, allocations: 23.98 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1232, allocations: 296.7 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1234, allocations: 66.61 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1235, allocations: 16.86 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1235, allocations: 0 / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1237, allocations: 71.38 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1237, allocations: 0 / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.1241, allocations: 169.2 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1242, allocations: 51.41 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1244, allocations: 226.7 kB / 474.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1244, allocations: 25.7 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1245, allocations: 116 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1245, allocations: 27.64 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1246, allocations: 21.72 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1247, allocations: 334.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.1247, allocations: 19.98 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1248, allocations: 37.64 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1249, allocations: 58.09 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1249, allocations: 0 / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1251, allocations: 101.5 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1251, allocations: 12.03 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1251, allocations: 4 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1251, allocations: 0 / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.1252, allocations: 19.92 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1252, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1253, allocations: 11.94 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1253, allocations: 4 kB / 474.8 MB, free: 8.52 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.21e-05/0.1254, allocations: 130.9 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1254, allocations: 11.81 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1255, allocations: 25.39 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1255, allocations: 3.938 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1255, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1255, allocations: 3.938 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.1259, allocations: 395.3 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1259, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.1259, allocations: 8 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1259, allocations: 3.984 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.126, allocations: 7.969 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.126, allocations: 4 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.126, allocations: 0 / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1262, allocations: 204.1 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.1262, allocations: 85.02 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1263, allocations: 7.938 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1263, allocations: 11.98 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1264, allocations: 4 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1264, allocations: 0 / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1265, allocations: 175.2 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1265, allocations: 0 / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1268, allocations: 24 kB / 475.9 MB, free: 7.332 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.0009774/0.1278, allocations: 477.6 kB / 476.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.128, allocations: 59.91 kB / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.128, allocations: 0 / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.128, allocations: 31.92 kB / 476.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1284, allocations: 35.7 kB / 476.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.1289, allocations: 270.7 kB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1291, allocations: 0.7158 MB / 477.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1292, allocations: 13.19 kB / 477.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1292, allocations: 15.44 kB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1292, allocations: 0 / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Templates: time 0.004191/0.1334, allocations: 1.717 MB / 479.2 MB, free: 4.164 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches