Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001256, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 79.03 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 62.46 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003071/0.1109, allocations: 1.639 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.1119, allocations: 0.5533 MB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.112, allocations: 0 / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1122, allocations: 35.77 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1125, allocations: 83.62 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1129, allocations: 119.6 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1131, allocations: 91.81 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1132, allocations: 24.27 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.1133, allocations: 35.8 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.1134, allocations: 43.83 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1134, allocations: 8 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1135, allocations: 39.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1135, allocations: 27.91 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1136, allocations: 31.75 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1138, allocations: 111.6 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1138, allocations: 0 / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1138, allocations: 3.984 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1138, allocations: 0 / 483 MB, free: 2.332 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004681/0.1143, allocations: 415 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1143, allocations: 8.031 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.1144, allocations: 38.73 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1144, allocations: 12.84 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1147, allocations: 202.7 kB / 483.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1147, allocations: 8.359 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1147, allocations: 8.375 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1149, allocations: 80.97 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1149, allocations: 7.938 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.115, allocations: 0 / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.115, allocations: 7.938 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1151, allocations: 43.97 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.1156, allocations: 332.6 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1157, allocations: 78.48 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.1158, allocations: 20.84 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1159, allocations: 4 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1159, allocations: 30.56 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1159, allocations: 0 / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001182/0.1171, allocations: 329.5 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1172, allocations: 55.34 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1173, allocations: 168.7 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1174, allocations: 29.7 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.1174, allocations: 100.1 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1175, allocations: 39.36 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1175, allocations: 33.66 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1177, allocations: 326.8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1178, allocations: 44.09 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.1179, allocations: 47.97 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1182, allocations: 112.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1182, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.1185, allocations: 152.5 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1185, allocations: 4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1185, allocations: 7.938 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1185, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1187, allocations: 23.98 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1187, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1187, allocations: 11.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1188, allocations: 4 kB / 485.7 MB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.74e-05/0.1189, allocations: 125.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1189, allocations: 15.75 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.1193, allocations: 194.3 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1193, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1193, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1193, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.12, allocations: 495 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.12, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1201, allocations: 31.92 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1201, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1201, allocations: 3.984 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1201, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1201, allocations: 7.969 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1205, allocations: 252.2 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.1205, allocations: 81.02 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1206, allocations: 7.984 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.1206, allocations: 8 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1207, allocations: 15.92 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1207, allocations: 7.938 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1208, allocations: 126.8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1208, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1211, allocations: 28 kB / 487.1 MB, free: 13.89 MB / 366.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 (13): * Single equations (assignments): 13 * 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.001591/0.1227, allocations: 1.131 MB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.123, allocations: 123.9 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.123, allocations: 0 / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1232, allocations: 63.89 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1235, allocations: 20.16 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1254, allocations: 1.733 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1257, allocations: 0.7158 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.719e-05/0.1258, allocations: 32.52 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1259, allocations: 35.42 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1259, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1467, allocations: 3.172 MB / 494.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.895, allocations: 5.141 kB / 494.1 MB, free: 6.941 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches