Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.00197, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 82.7 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 62.43 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003048/0.1095, allocations: 1.592 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.1104, allocations: 0.5417 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.1105, allocations: 4 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.1107, allocations: 31.72 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.111, allocations: 71.69 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1113, allocations: 111.4 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1114, allocations: 67.83 kB / 482.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.1116, allocations: 19.98 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.1116, allocations: 19.88 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1117, allocations: 19.86 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1117, allocations: 4 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1118, allocations: 35.97 kB / 482.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.1118, allocations: 15.98 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.1119, allocations: 23.81 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.112, allocations: 87.94 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.112, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.112, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1121, allocations: 0 / 482.8 MB, free: 2.512 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.0004346/0.1125, allocations: 387.1 kB / 483.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1125, allocations: 8.031 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1126, allocations: 38.73 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1126, allocations: 8.844 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1128, allocations: 191.1 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.1128, allocations: 384 / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1128, allocations: 384 / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.113, allocations: 61.48 kB / 483.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.113, allocations: 4 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.113, allocations: 0 / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.113, allocations: 4 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.1131, allocations: 23.97 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1135, allocations: 284.8 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1137, allocations: 50.5 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1138, allocations: 20.88 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1138, allocations: 4 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1138, allocations: 30.56 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.1138, allocations: 3.984 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005913/0.1144, allocations: 161.2 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1145, allocations: 51.41 kB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1146, allocations: 165.8 kB / 484.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1146, allocations: 25.7 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1147, allocations: 100.1 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1147, allocations: 11.75 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1148, allocations: 25.7 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.1149, allocations: 314.8 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.115, allocations: 27.97 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.115, allocations: 19.98 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1152, allocations: 53.02 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1152, allocations: 3.938 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.1154, allocations: 89.56 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1154, allocations: 10.5 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1154, allocations: 4 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1154, allocations: 0 / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.1155, allocations: 8 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1155, allocations: 11.92 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.1156, allocations: 0 / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1156, allocations: 4 kB / 484.9 MB, free: 124 kB / 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 (5): * Single equations (assignments): 5 * 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 8.467e-05/0.1157, allocations: 113.8 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1157, allocations: 11.95 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.116, allocations: 101.8 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.116, allocations: 0 / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.116, allocations: 3.938 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.116, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.1164, allocations: 358.5 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1165, allocations: 0 / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.1165, allocations: 12 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1165, allocations: 7.938 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1166, allocations: 4 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1166, allocations: 11.86 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1166, allocations: 0 / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1168, allocations: 179.5 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1169, allocations: 81.09 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1169, allocations: 16 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.117, allocations: 0 / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.117, allocations: 11.98 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.117, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.1171, allocations: 126.2 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 7.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1174, allocations: 15.91 kB / 486 MB, free: 14.98 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 (5): * Single equations (assignments): 5 * 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.001476/0.1189, allocations: 1.003 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1191, allocations: 59.91 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1191, allocations: 0 / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.1192, allocations: 31.97 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1196, allocations: 15.98 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1215, allocations: 1.491 MB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1218, allocations: 0.6924 MB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.1219, allocations: 16.05 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.122, allocations: 27.42 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.122, allocations: 0 / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.144, allocations: 2.53 MB / 491.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.758, allocations: 8.891 kB / 491.8 MB, free: 9.164 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches