Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00074/0.00074, allocations: 93.41 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008753/0.0008752, allocations: 174.3 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1875/0.1875, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 13.03 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001982/0.1117, allocations: 1.425 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1131, allocations: 0.8421 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.1132, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1135, allocations: 39.89 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1137, allocations: 43.77 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.114, allocations: 95.81 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1142, allocations: 95.7 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.1143, allocations: 4.234 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.1144, allocations: 35.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.1144, allocations: 39.77 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1145, allocations: 0 / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1146, allocations: 39.98 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1146, allocations: 23.91 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1147, allocations: 53.45 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1149, allocations: 115.9 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1149, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1149, allocations: 3.938 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1149, allocations: 0 / 475.2 MB, free: 10.36 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.0005134/0.1154, allocations: 395.1 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1155, allocations: 8.031 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.1156, allocations: 30.75 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1156, allocations: 16.75 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1159, allocations: 204.1 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1159, allocations: 8.375 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1159, allocations: 3.938 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1161, allocations: 53.67 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1161, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1161, allocations: 8 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1161, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.1162, allocations: 23.92 kB / 475.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1167, allocations: 288.9 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1168, allocations: 58.67 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.1169, allocations: 24.84 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.117, allocations: 3.938 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1172, allocations: 67.33 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1172, allocations: 4 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.1178, allocations: 173.2 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1178, allocations: 55.41 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.118, allocations: 186.1 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.118, allocations: 25.7 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.1181, allocations: 108.1 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1181, allocations: 23.7 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.1181, allocations: 13.72 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1182, allocations: 326.8 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.1183, allocations: 23.98 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.1184, allocations: 29.72 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1185, allocations: 61.64 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1185, allocations: 0 / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.1187, allocations: 105.5 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1187, allocations: 8.031 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1187, allocations: 7.938 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1187, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.1188, allocations: 12.19 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1188, allocations: 160 / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1189, allocations: 15.86 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1189, allocations: 7.984 kB / 477.5 MB, free: 7.781 MB / 350.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 8.647e-05/0.119, allocations: 121.8 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.119, allocations: 11.91 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.1191, allocations: 20.7 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1191, allocations: 0 / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1191, allocations: 0 / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1191, allocations: 7.922 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1195, allocations: 391.3 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1195, allocations: 0 / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1195, allocations: 15.92 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1196, allocations: 7.969 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1196, allocations: 384 / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1196, allocations: 4 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1196, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1198, allocations: 204.1 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.1198, allocations: 89 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1199, allocations: 3.938 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1199, allocations: 12 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.12, allocations: 7.984 kB / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.12, allocations: 0 / 478.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1201, allocations: 143.2 kB / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1201, allocations: 3.938 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1204, allocations: 27.98 kB / 478.6 MB, free: 6.617 MB / 350.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.001368/0.1217, allocations: 1.099 MB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1219, allocations: 63.89 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1219, allocations: 0 / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.122, allocations: 35.92 kB / 479.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1224, allocations: 20.3 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.124, allocations: 1.646 MB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1242, allocations: 0.7043 MB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.1243, allocations: 16.88 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1243, allocations: 31.42 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1244, allocations: 0 / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.1372, allocations: 2.953 MB / 485.2 MB, free: 220 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.1374, allocations: 235 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.873, allocations: 3.938 kB / 485.4 MB, free: 15.96 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches