Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, 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.001584/0.001584, 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.346/1.346, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.1973/0.1973, allocations: 44.17 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 69.3 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003294/0.1194, allocations: 1.649 MB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1209, allocations: 0.8613 MB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.121, allocations: 4 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1214, allocations: 51.81 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1216, allocations: 59.69 kB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1219, allocations: 98.56 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1221, allocations: 99.69 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1222, allocations: 11.98 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.1222, allocations: 35.86 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.1223, allocations: 35.72 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1224, allocations: 4 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1225, allocations: 24 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.1225, allocations: 27.91 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1226, allocations: 39.69 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1229, allocations: 115.9 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1229, allocations: 4 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1229, allocations: 0 / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1229, allocations: 0 / 473 MB, free: 11.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005613/0.1235, allocations: 430.7 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1235, allocations: 12.03 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1236, allocations: 12.75 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1238, allocations: 219.9 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1238, allocations: 4.375 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1238, allocations: 4.125 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.124, allocations: 61.67 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.124, allocations: 0 / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.124, allocations: 0 / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.124, allocations: 0 / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.1241, allocations: 19.92 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.1243, allocations: 181.7 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1245, allocations: 58.61 kB / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1246, allocations: 20.8 kB / 474 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1246, allocations: 7.984 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.1248, allocations: 59.39 kB / 474.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1248, allocations: 0 / 474.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.1252, allocations: 101.4 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1252, allocations: 55.41 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1255, allocations: 262.9 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1255, allocations: 33.64 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.1256, allocations: 112.1 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.1257, allocations: 11.89 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1257, allocations: 17.72 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1259, allocations: 330.8 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.1259, allocations: 12 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.126, allocations: 33.64 kB / 475.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1261, allocations: 53.89 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1261, allocations: 0 / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.1263, allocations: 89.38 kB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1263, allocations: 4 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1263, allocations: 0 / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1263, allocations: 0 / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.1264, allocations: 16.03 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1264, allocations: 3.984 kB / 475.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1265, allocations: 7.938 kB / 475.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1265, allocations: 4 kB / 475.2 MB, free: 8.828 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 (7): * Single equations (assignments): 7 * 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.0001101/0.1266, allocations: 136.6 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1266, allocations: 11.81 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1267, allocations: 20.98 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1267, allocations: 0 / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1267, allocations: 0 / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1267, allocations: 4 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1269, allocations: 201.6 kB / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1269, allocations: 0 / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.1269, allocations: 7.938 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1269, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1269, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1269, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1269, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1271, allocations: 120.9 kB / 475.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1272, allocations: 88.91 kB / 475.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1272, allocations: 8.125 kB / 475.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.1273, allocations: 3.984 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1273, allocations: 4 kB / 475.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1273, allocations: 4 kB / 475.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1275, allocations: 196.2 kB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1275, allocations: 0 / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1278, allocations: 19.98 kB / 476 MB, free: 7.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009894/0.1288, allocations: 415.5 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.129, allocations: 39.98 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.129, allocations: 0 / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.129, allocations: 24.05 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1293, allocations: 34.48 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.1299, allocations: 296.4 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1303, allocations: 0.7158 MB / 477.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1303, allocations: 15.44 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1303, allocations: 0 / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.003682/0.134, allocations: 1.834 MB / 479.4 MB, free: 4.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches