Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 105.2 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.001209/0.001209, 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.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.7 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002705/0.1133, allocations: 1.727 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1155, allocations: 1.627 MB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.1156, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1159, allocations: 35.78 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1162, allocations: 111.5 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1164, allocations: 71.73 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1166, allocations: 111.6 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.1167, allocations: 11.98 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.1168, allocations: 47.78 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.117, allocations: 43.78 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.117, allocations: 4 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.1173, allocations: 107.9 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1173, allocations: 23.92 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.1174, allocations: 35.78 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1178, allocations: 163.8 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1178, allocations: 4 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1178, allocations: 3.984 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1178, allocations: 4 kB / 484.3 MB, free: 1.023 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.0006012/0.1184, allocations: 423 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1185, allocations: 12.03 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.1185, allocations: 30.75 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.1186, allocations: 12.84 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1188, allocations: 211.4 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1189, allocations: 8 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1189, allocations: 4 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1191, allocations: 71.38 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1191, allocations: 3.938 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1191, allocations: 0 / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1191, allocations: 0 / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.1192, allocations: 19.98 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.1196, allocations: 292.9 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1198, allocations: 54.67 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1199, allocations: 24.78 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1199, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1201, allocations: 71.39 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1201, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.1207, allocations: 177.1 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1207, allocations: 81.05 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1209, allocations: 158.5 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1209, allocations: 33.7 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.121, allocations: 92.14 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.121, allocations: 27.64 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1211, allocations: 25.72 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1212, allocations: 322.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.1212, allocations: 23.92 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1213, allocations: 54.44 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1214, allocations: 53.7 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1214, allocations: 4.406 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1216, allocations: 101.5 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1217, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1217, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1217, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.1218, allocations: 19.92 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1218, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.1219, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1219, allocations: 4 kB / 486.6 MB, free: 14.38 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 9.454e-05/0.122, allocations: 129.9 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.122, allocations: 15.75 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.1221, allocations: 12.72 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1221, allocations: 3.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1221, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1221, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.1225, allocations: 395.3 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1225, allocations: 7.969 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.1225, allocations: 11.98 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1225, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1226, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1226, allocations: 4.234 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1226, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1228, allocations: 200.3 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.1229, allocations: 96.92 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.1229, allocations: 8 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.123, allocations: 7.938 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.123, allocations: 3.984 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1231, allocations: 4 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1232, allocations: 126.3 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1232, allocations: 4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.1235, allocations: 51.92 kB / 487.7 MB, free: 13.21 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.00163/0.1251, allocations: 1.177 MB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1253, allocations: 67.91 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1253, allocations: 0 / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1254, allocations: 27.94 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1258, allocations: 31.91 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1275, allocations: 1.569 MB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1278, allocations: 0.7012 MB / 491.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.1279, allocations: 25.17 kB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.128, allocations: 35.42 kB / 491.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.128, allocations: 0 / 491.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.1488, allocations: 3.928 MB / 495.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/8.706, allocations: 16.83 kB / 495.3 MB, free: 5.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches