Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 104.6 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.001268/0.001268, 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.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 69.05 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002966/0.1174, allocations: 1.658 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1184, allocations: 0.5494 MB / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.1185, allocations: 3.938 kB / 482.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1189, allocations: 95.73 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1192, allocations: 119.6 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.1196, allocations: 123.3 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1198, allocations: 95.8 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1199, allocations: 36.14 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.12, allocations: 47.83 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1201, allocations: 63.81 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1201, allocations: 4 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1202, allocations: 43.98 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1203, allocations: 23.92 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.1204, allocations: 43.67 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1206, allocations: 139.5 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1206, allocations: 0 / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1206, allocations: 0 / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1206, allocations: 0 / 483.2 MB, free: 2.121 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.0005054/0.1211, allocations: 434.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1212, allocations: 12.03 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.1212, allocations: 34.75 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1213, allocations: 12.84 kB / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1215, allocations: 204 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1215, allocations: 12.36 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1215, allocations: 8.375 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1217, allocations: 81.53 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1217, allocations: 4 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1217, allocations: 4 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1217, allocations: 0 / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1219, allocations: 39.97 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1223, allocations: 348.6 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1224, allocations: 70.48 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.1225, allocations: 20.84 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1225, allocations: 4 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1226, allocations: 34.56 kB / 484.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1226, allocations: 4 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00107/0.1236, allocations: 345.2 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.1237, allocations: 59.39 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1239, allocations: 240.3 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1239, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.124, allocations: 108 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1241, allocations: 51.3 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1241, allocations: 25.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1242, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1244, allocations: 43.97 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1245, allocations: 52.09 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1247, allocations: 108.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1247, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002815/0.125, allocations: 156.3 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.125, allocations: 7.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.125, allocations: 3.938 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.125, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1252, allocations: 31.98 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1252, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1252, allocations: 11.98 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1252, allocations: 0 / 486 MB, free: 15.02 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.988e-05/0.1253, allocations: 133.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1254, allocations: 15.81 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.1258, allocations: 191 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1258, allocations: 4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1258, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1258, allocations: 3.984 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.1264, allocations: 0.4951 MB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1264, allocations: 8.031 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.1265, allocations: 27.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1265, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1266, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1266, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1266, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.1269, allocations: 260.2 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1269, allocations: 88.92 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.127, allocations: 4 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.127, allocations: 4 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1271, allocations: 11.92 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1271, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1273, allocations: 177.2 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.1273, allocations: 0 / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1275, allocations: 31.94 kB / 487.5 MB, free: 13.46 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.001507/0.129, allocations: 1.141 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1293, allocations: 119.9 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1294, allocations: 0 / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1295, allocations: 63.89 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1298, allocations: 28.2 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.1319, allocations: 1.907 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1323, allocations: 0.7196 MB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.232e-05/0.1324, allocations: 28.53 kB / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.1325, allocations: 47.42 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1325, allocations: 0 / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1529, allocations: 3.504 MB / 495 MB, free: 5.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.775, allocations: 15.94 kB / 495 MB, free: 5.977 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches