Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, 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.001706/0.001706, 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.44/1.44, 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.2391/0.2391, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 65.06 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003425/0.1101, allocations: 1.572 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.1109, allocations: 419.2 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.111, allocations: 4 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1113, allocations: 79.7 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1115, allocations: 59.75 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1119, allocations: 114.7 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1121, allocations: 71.88 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1122, allocations: 16.19 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1122, allocations: 39.83 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1124, allocations: 47.89 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1124, allocations: 4 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1125, allocations: 51.91 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1126, allocations: 19.92 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1126, allocations: 27.75 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1128, allocations: 99.98 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1129, allocations: 0 / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1129, allocations: 4 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1129, allocations: 0 / 472.5 MB, free: 11.75 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.0005405/0.1134, allocations: 403 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1135, allocations: 12.02 kB / 472.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1135, allocations: 8.844 kB / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1138, allocations: 196.1 kB / 473.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1138, allocations: 4.375 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1138, allocations: 4.375 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.114, allocations: 57.59 kB / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.114, allocations: 7.906 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1141, allocations: 4 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1141, allocations: 4 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1142, allocations: 27.97 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1146, allocations: 292.8 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1148, allocations: 54.55 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.1148, allocations: 20.94 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1149, allocations: 0 / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1149, allocations: 30.56 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1149, allocations: 3.938 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009436/0.1159, allocations: 241.1 kB / 473.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1159, allocations: 59.33 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1161, allocations: 210.1 kB / 474.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1161, allocations: 25.7 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.1162, allocations: 108 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1162, allocations: 27.64 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.1163, allocations: 25.72 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1164, allocations: 322.8 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.1165, allocations: 27.98 kB / 474.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.1166, allocations: 27.97 kB / 474.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1168, allocations: 72.81 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1168, allocations: 0 / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002165/0.117, allocations: 117.5 kB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.117, allocations: 4 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.117, allocations: 11.88 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.117, allocations: 4 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1172, allocations: 15.98 kB / 474.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1172, allocations: 3.938 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.1172, allocations: 4 kB / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1172, allocations: 0 / 474.9 MB, free: 9.137 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.07e-05/0.1173, allocations: 133.8 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1174, allocations: 7.906 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1177, allocations: 134.3 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1177, allocations: 0 / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.1177, allocations: 3.938 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1177, allocations: 4 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.1182, allocations: 423.6 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1182, allocations: 0 / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1183, allocations: 23.92 kB / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1183, allocations: 0 / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1183, allocations: 0 / 475.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1183, allocations: 4 kB / 475.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1184, allocations: 0 / 475.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1186, allocations: 216.2 kB / 475.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1187, allocations: 88.95 kB / 475.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1187, allocations: 0 / 475.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.1188, allocations: 11.98 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1188, allocations: 4 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1189, allocations: 4 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.119, allocations: 155.2 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.119, allocations: 0 / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1193, allocations: 27.94 kB / 476.1 MB, free: 7.809 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.001033/0.1203, allocations: 457.8 kB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1205, allocations: 83.88 kB / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1206, allocations: 0 / 476.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.1207, allocations: 39.92 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.121, allocations: 27.23 kB / 476.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.1215, allocations: 288.8 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1218, allocations: 0.7041 MB / 477.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.1218, allocations: 23.42 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1218, allocations: 0 / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Templates: time 0.00354/0.1254, allocations: 1.744 MB / 479.5 MB, free: 4.582 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches