Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001735, 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.002286/0.002286, 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.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 82.69 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1161, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003459/0.1196, allocations: 1.723 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1214, allocations: 1.029 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.1216, allocations: 0 / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1219, allocations: 55.75 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1222, allocations: 87.61 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1224, allocations: 79.67 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1226, allocations: 103.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1227, allocations: 15.98 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1228, allocations: 39.8 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.1229, allocations: 39.72 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1229, allocations: 4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1231, allocations: 47.97 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.1231, allocations: 19.92 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1232, allocations: 39.69 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1234, allocations: 123.9 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1234, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1234, allocations: 0 / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1234, allocations: 4 kB / 483.5 MB, free: 1.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005307/0.124, allocations: 438.7 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.124, allocations: 12.03 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.1241, allocations: 30.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1241, allocations: 8.844 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1243, allocations: 225.6 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1244, allocations: 384 / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1244, allocations: 7.938 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1245, allocations: 61.67 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1246, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1246, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1246, allocations: 3.984 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.1247, allocations: 19.94 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.125, allocations: 308.6 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1252, allocations: 58.67 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1253, allocations: 16.86 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1253, allocations: 4 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.1255, allocations: 67.33 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1255, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.1261, allocations: 177.1 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1261, allocations: 59.41 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1264, allocations: 238.1 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1264, allocations: 25.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1265, allocations: 108.1 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1265, allocations: 27.64 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1265, allocations: 21.72 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1267, allocations: 330.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.1267, allocations: 23.94 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.1268, allocations: 37.7 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1269, allocations: 61.64 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1269, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1271, allocations: 105.4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1271, allocations: 4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1272, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1272, allocations: 8.031 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.1273, allocations: 15.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1273, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.1273, allocations: 7.938 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1274, allocations: 4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001047/0.1275, allocations: 125.8 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1275, allocations: 11.91 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.1276, allocations: 25.39 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1276, allocations: 4 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1276, allocations: 0 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1276, allocations: 4.312 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.128, allocations: 407.4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1281, allocations: 4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1281, allocations: 11.94 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1281, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1281, allocations: 192 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1281, allocations: 8.031 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1281, allocations: 7.922 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1284, allocations: 196.3 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1284, allocations: 88.92 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1285, allocations: 7.938 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1286, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1286, allocations: 11.98 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1286, allocations: 4 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1288, allocations: 180.3 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1288, allocations: 0 / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1291, allocations: 24 kB / 487.1 MB, free: 13.82 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001491/0.1306, allocations: 1.103 MB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1308, allocations: 55.92 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1308, allocations: 4.062 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.1308, allocations: 35.92 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1312, allocations: 22.94 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.133, allocations: 1.732 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1333, allocations: 0.7156 MB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.1333, allocations: 16.88 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1334, allocations: 43.42 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1334, allocations: 0 / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1536, allocations: 3.529 MB / 494.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.336, allocations: 19.78 kB / 494.4 MB, free: 6.652 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_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_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches