Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002233/0.002233, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 77.09 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002802/0.1068, allocations: 1.598 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.1078, allocations: 0.565 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.1079, allocations: 0 / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.1081, allocations: 23.8 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1083, allocations: 79.67 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1087, allocations: 119.2 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1088, allocations: 63.84 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.1089, allocations: 15.98 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.1089, allocations: 31.86 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.109, allocations: 27.84 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1091, allocations: 4 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1092, allocations: 99.88 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.1093, allocations: 23.91 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1093, allocations: 23.88 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1096, allocations: 143.9 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1096, allocations: 0 / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1096, allocations: 0 / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1096, allocations: 0 / 482.9 MB, free: 2.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004387/0.1101, allocations: 411.1 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1101, allocations: 8.031 kB / 483.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.1102, allocations: 34.75 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1102, allocations: 8.844 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1104, allocations: 194.5 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1104, allocations: 4.375 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1104, allocations: 4.375 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1106, allocations: 71.27 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1106, allocations: 0 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1106, allocations: 4 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1106, allocations: 0 / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1107, allocations: 23.98 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1111, allocations: 292.9 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1113, allocations: 54.53 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.1113, allocations: 24.84 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1114, allocations: 7.984 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1114, allocations: 30.56 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1114, allocations: 4 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006208/0.112, allocations: 185.2 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1121, allocations: 77.11 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1122, allocations: 149.7 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1122, allocations: 25.7 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1123, allocations: 96.12 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1123, allocations: 23.66 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1124, allocations: 21.72 kB / 484.6 MB, free: 424 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1125, allocations: 322.8 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.1126, allocations: 27.97 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.1127, allocations: 53.62 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1129, allocations: 73.12 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1129, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002261/0.1131, allocations: 113.5 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1131, allocations: 4 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1131, allocations: 288 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1132, allocations: 0 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1133, allocations: 27.95 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1133, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1133, allocations: 7.938 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1133, allocations: 4 kB / 485.3 MB, free: 15.77 MB / 366.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.325e-05/0.1134, allocations: 121.8 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1135, allocations: 11.89 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1138, allocations: 118.3 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1138, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1138, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1138, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.1143, allocations: 394.3 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1144, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.1144, allocations: 23.92 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1144, allocations: 3.938 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1145, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1145, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1145, allocations: 4 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1147, allocations: 191.4 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1148, allocations: 85.02 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1148, allocations: 7.938 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1149, allocations: 7.984 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1149, allocations: 7.938 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1149, allocations: 0 / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1151, allocations: 117.4 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1151, allocations: 0 / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1154, allocations: 43.98 kB / 486.4 MB, free: 14.54 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001472/0.1168, allocations: 1.125 MB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1171, allocations: 75.89 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1171, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.1172, allocations: 35.97 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1175, allocations: 29.89 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1192, allocations: 1.527 MB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1194, allocations: 0.7041 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.1195, allocations: 20.66 kB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.1196, allocations: 27.42 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1196, allocations: 3.938 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1402, allocations: 3.406 MB / 493.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.912, allocations: 16.16 kB / 493.4 MB, free: 7.691 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches