Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001248, 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.001739/0.001739, 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.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 86.2 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09857, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003303/0.1019, allocations: 1.971 MB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1041, allocations: 1.184 MB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1043, allocations: 7.938 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.105, allocations: 195.4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.1056, allocations: 211.2 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.106, allocations: 155.1 kB / 483.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1064, allocations: 271.2 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1065, allocations: 28.31 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1067, allocations: 111.5 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1069, allocations: 107.5 kB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1069, allocations: 15.94 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1071, allocations: 55.97 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.1072, allocations: 55.81 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1073, allocations: 91.36 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.1076, allocations: 239.5 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1077, allocations: 0 / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1077, allocations: 0 / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1077, allocations: 4 kB / 484.8 MB, free: 0.4961 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001072/0.1088, allocations: 0.5544 MB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1088, allocations: 8.031 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.1089, allocations: 38.73 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.109, allocations: 28.56 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.1094, allocations: 287.5 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1094, allocations: 4.375 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1095, allocations: 11.94 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1097, allocations: 108.2 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1097, allocations: 3.938 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1098, allocations: 0 / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1098, allocations: 3.938 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1099, allocations: 39.97 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.1105, allocations: 385.5 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1108, allocations: 121.2 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1109, allocations: 49.69 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.111, allocations: 4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.1113, allocations: 116.9 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1113, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004878/0.1118, allocations: 181.7 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1118, allocations: 106.8 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.1122, allocations: 355.3 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1123, allocations: 29.7 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1124, allocations: 140.1 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1124, allocations: 31.56 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.1125, allocations: 33.7 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1126, allocations: 338.8 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.1127, allocations: 35.98 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1129, allocations: 77.12 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1131, allocations: 87.36 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1131, allocations: 4.031 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002934/0.1134, allocations: 153.2 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1134, allocations: 8 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1134, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1134, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1135, allocations: 27.92 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1136, allocations: 0 / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.1137, allocations: 15.84 kB / 488.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1137, allocations: 16.05 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001562/0.1139, allocations: 154.7 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1139, allocations: 23.72 kB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.114, allocations: 30.02 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.114, allocations: 0 / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.114, allocations: 4 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.114, allocations: 7.938 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1143, allocations: 253.5 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1143, allocations: 0 / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.1143, allocations: 12 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1144, allocations: 0 / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1144, allocations: 11.98 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1144, allocations: 0 / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1144, allocations: 3.938 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1147, allocations: 185.5 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1148, allocations: 92.83 kB / 488.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1148, allocations: 15.98 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1149, allocations: 4 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.115, allocations: 15.92 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.115, allocations: 4 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.1153, allocations: 261.9 kB / 489.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 0 / 489.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1156, allocations: 39.98 kB / 489.2 MB, free: 11.63 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001525/0.1171, allocations: 1.024 MB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1174, allocations: 91.91 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1174, allocations: 0 / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.1175, allocations: 56.03 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1179, allocations: 69.61 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1209, allocations: 2.338 MB / 492.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1212, allocations: 0.7519 MB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1214, allocations: 37.91 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1215, allocations: 71.42 kB / 493.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1215, allocations: 3.938 kB / 493.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.1434, allocations: 5.656 MB / 499.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.645, allocations: 6.719 kB / 499.3 MB, free: 1.602 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches