Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001885/0.001885, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.38/1.38, allocations: 222.9 MB / 242.9 MB, free: 15.24 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.2089/0.2089, allocations: 44.19 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 73.36 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 60.83 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003316/0.117, allocations: 1.572 MB / 471.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.1178, allocations: 403.2 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1179, allocations: 3.938 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1182, allocations: 83.7 kB / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1185, allocations: 59.81 kB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1188, allocations: 91.69 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.119, allocations: 67.89 kB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1191, allocations: 24.16 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.1192, allocations: 31.86 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1193, allocations: 47.88 kB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1193, allocations: 7.938 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1194, allocations: 47.92 kB / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.1195, allocations: 15.98 kB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.1195, allocations: 31.73 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1197, allocations: 100 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1197, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1197, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1197, allocations: 0 / 472.5 MB, free: 11.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004849/0.1202, allocations: 411 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1203, allocations: 8.031 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1203, allocations: 8.844 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1205, allocations: 192.1 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1206, allocations: 4.375 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1206, allocations: 16.3 kB / 473.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1207, allocations: 57.61 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1208, allocations: 4 kB / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1208, allocations: 0 / 473.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1208, allocations: 4 kB / 473.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.1209, allocations: 23.97 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1213, allocations: 300.7 kB / 473.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1214, allocations: 50.5 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1215, allocations: 12.86 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1215, allocations: 0 / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1215, allocations: 34.66 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1215, allocations: 0 / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009133/0.1225, allocations: 217.1 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1225, allocations: 51.41 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1227, allocations: 214.1 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1228, allocations: 29.64 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.1229, allocations: 112 kB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1229, allocations: 23.64 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.1229, allocations: 21.72 kB / 474.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1231, allocations: 326.8 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.1232, allocations: 19.98 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.1232, allocations: 23.98 kB / 474.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1234, allocations: 69.11 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1234, allocations: 0 / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002227/0.1236, allocations: 109.4 kB / 474.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1237, allocations: 4 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1237, allocations: 0 / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1237, allocations: 0 / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1238, allocations: 23.92 kB / 474.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1238, allocations: 3.938 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1238, allocations: 8 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1239, allocations: 4 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.566e-05/0.124, allocations: 125.8 kB / 474.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.124, allocations: 7.906 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1243, allocations: 118.3 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1243, allocations: 4 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1243, allocations: 3.938 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1243, allocations: 0 / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1248, allocations: 403.2 kB / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1248, allocations: 4 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.1249, allocations: 19.92 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1249, allocations: 0 / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1249, allocations: 8 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.125, allocations: 0 / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.125, allocations: 4.453 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1252, allocations: 208.2 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.1253, allocations: 88.95 kB / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1253, allocations: 0 / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1254, allocations: 7.938 kB / 475.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1254, allocations: 15.97 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1254, allocations: 4 kB / 475.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1256, allocations: 151.2 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1256, allocations: 0 / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1258, allocations: 20 kB / 476 MB, free: 7.969 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001027/0.1269, allocations: 463.9 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1271, allocations: 71.88 kB / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1271, allocations: 0 / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.1272, allocations: 35.92 kB / 476.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1276, allocations: 29.55 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1281, allocations: 272.8 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1283, allocations: 0.708 MB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.1284, allocations: 15.44 kB / 477.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1284, allocations: 0 / 477.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Templates: time 0.003576/0.132, allocations: 1.686 MB / 479.3 MB, free: 4.828 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches