Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, 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.001409/0.001409, allocations: 216.5 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.375/1.375, 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.2284/0.2284, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 74.95 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003528/0.1162, allocations: 1.584 MB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1173, allocations: 0.5416 MB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.1174, allocations: 0 / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1176, allocations: 31.78 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1179, allocations: 79.62 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1183, allocations: 111.3 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1184, allocations: 63.89 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1186, allocations: 16 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.1186, allocations: 23.86 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.1187, allocations: 27.8 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1187, allocations: 0 / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.1188, allocations: 35.98 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1189, allocations: 11.98 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1189, allocations: 23.81 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1191, allocations: 87.98 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1192, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1192, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1192, allocations: 0 / 482.8 MB, free: 2.531 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.0004829/0.1197, allocations: 387.1 kB / 483.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1197, allocations: 8.031 kB / 483.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.1198, allocations: 34.75 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1198, allocations: 8.844 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.12, allocations: 202.7 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.12, allocations: 384 / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1201, allocations: 4.375 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1202, allocations: 45.62 kB / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1202, allocations: 4 kB / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1202, allocations: 4 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1203, allocations: 0 / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1204, allocations: 27.97 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1208, allocations: 284.8 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.121, allocations: 50.55 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.1211, allocations: 24.8 kB / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1211, allocations: 0 / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1211, allocations: 34.64 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1212, allocations: 0 / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006166/0.1218, allocations: 161.2 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1218, allocations: 59.34 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.122, allocations: 161.8 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.122, allocations: 25.7 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1221, allocations: 96.14 kB / 484.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1221, allocations: 19.73 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1222, allocations: 17.72 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1223, allocations: 318.8 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1224, allocations: 27.92 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1225, allocations: 19.98 kB / 484.7 MB, free: 332 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1226, allocations: 52.83 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1226, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.1228, allocations: 89.56 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1229, allocations: 4 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1229, allocations: 4 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1229, allocations: 0 / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.123, allocations: 19.92 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.123, allocations: 3.938 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.123, allocations: 4 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.123, allocations: 0 / 484.9 MB, free: 144 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.354e-05/0.1231, allocations: 117.8 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.1232, allocations: 7.906 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1234, allocations: 105.9 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1235, allocations: 0 / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1235, allocations: 7.938 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1235, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1239, allocations: 354.8 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.124, allocations: 0 / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.124, allocations: 19.98 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.124, allocations: 3.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1241, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1241, allocations: 3.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1241, allocations: 0 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1243, allocations: 187.3 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1244, allocations: 81.39 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1244, allocations: 7.938 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1245, allocations: 4 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1245, allocations: 11.97 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1245, allocations: 4 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1246, allocations: 126.6 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1246, allocations: 0 / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1249, allocations: 15.91 kB / 486 MB, free: 15 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.001344/0.1262, allocations: 1.017 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1265, allocations: 55.95 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1265, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.1266, allocations: 31.98 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1269, allocations: 11.98 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1286, allocations: 1.491 MB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1289, allocations: 0.6963 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.129, allocations: 8 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1291, allocations: 27.42 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1291, allocations: 0 / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1497, allocations: 2.548 MB / 491.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.842, allocations: 5.016 kB / 491.8 MB, free: 9.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches