Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001149/0.001149, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.32 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.196/0.196, allocations: 44.17 MB / 336.8 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.31 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1057, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003201/0.109, allocations: 1.753 MB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1104, allocations: 0.8692 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.1105, allocations: 3.938 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.1108, allocations: 51.86 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.111, allocations: 51.83 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1113, allocations: 91.77 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1115, allocations: 103.7 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.1116, allocations: 8.234 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1116, allocations: 43.78 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1117, allocations: 31.84 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1118, allocations: 4 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1119, allocations: 43.92 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.1119, allocations: 27.86 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.112, allocations: 43.66 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1121, allocations: 92.11 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1122, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1122, allocations: 4 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.1122, allocations: 0 / 472.4 MB, free: 11.59 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.0005452/0.1127, allocations: 434.8 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1128, allocations: 15.95 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.1128, allocations: 16.75 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1131, allocations: 212 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1131, allocations: 8.359 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1131, allocations: 8.062 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1133, allocations: 57.67 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1133, allocations: 4 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1133, allocations: 0 / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1133, allocations: 0 / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.1134, allocations: 19.98 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1138, allocations: 300.8 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1139, allocations: 66.66 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.114, allocations: 20.84 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.114, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1142, allocations: 67.39 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1143, allocations: 0 / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.1148, allocations: 188.9 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1149, allocations: 55.41 kB / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1151, allocations: 266.9 kB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1151, allocations: 29.64 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1152, allocations: 112.1 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1153, allocations: 19.72 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1153, allocations: 25.7 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1154, allocations: 330.8 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.1155, allocations: 27.98 kB / 474.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1156, allocations: 29.72 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1157, allocations: 53.7 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1157, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1159, allocations: 113.4 kB / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1159, allocations: 8 kB / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1159, allocations: 384 / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.116, allocations: 4.031 kB / 474.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.1161, allocations: 15.94 kB / 474.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1161, allocations: 4 kB / 474.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1161, allocations: 11.92 kB / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1161, allocations: 4 kB / 474.9 MB, free: 8.867 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.0001104/0.1163, allocations: 138 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1163, allocations: 11.81 kB / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1163, allocations: 29.33 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1164, allocations: 4 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.1164, allocations: 7.938 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1164, allocations: 3.938 kB / 475.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1168, allocations: 395.3 kB / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1168, allocations: 0 / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.1169, allocations: 11.98 kB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1169, allocations: 0 / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1169, allocations: 3.938 kB / 475.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1169, allocations: 8.031 kB / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1169, allocations: 0 / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1172, allocations: 204.1 kB / 475.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1172, allocations: 88.92 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1173, allocations: 15.92 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1174, allocations: 0 / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1174, allocations: 8 kB / 475.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1174, allocations: 7.984 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1176, allocations: 200.2 kB / 476 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1176, allocations: 0 / 476 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1179, allocations: 24 kB / 476 MB, free: 7.625 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.001057/0.1189, allocations: 467.4 kB / 476.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1191, allocations: 55.92 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1192, allocations: 0 / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.1192, allocations: 31.92 kB / 476.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1196, allocations: 30.73 kB / 476.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.1202, allocations: 347.3 kB / 476.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1205, allocations: 0.72 MB / 477.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.1206, allocations: 15.44 kB / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1206, allocations: 0 / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003983/0.1246, allocations: 2.053 MB / 479.7 MB, free: 4.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches