Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.0009633/0.0009633, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001015/0.001015, allocations: 192 kB / 18.55 MB, free: 4.566 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.361/1.361, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 70.77 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1004, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003191/0.1037, allocations: 1.703 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1053, allocations: 0.873 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1054, allocations: 4 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1058, allocations: 35.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1061, allocations: 51.77 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1065, allocations: 111.1 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1067, allocations: 99.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1069, allocations: 12.22 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.107, allocations: 43.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.1071, allocations: 27.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1071, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1073, allocations: 51.91 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.1074, allocations: 19.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.1074, allocations: 31.8 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1077, allocations: 115.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1077, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1077, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1077, allocations: 0 / 472.5 MB, free: 11.08 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.0006159/0.1083, allocations: 403 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1084, allocations: 12.02 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1084, allocations: 38.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1085, allocations: 12.84 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1087, allocations: 208 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1087, allocations: 12.38 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1087, allocations: 3.938 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1089, allocations: 53.67 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1089, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1089, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1089, allocations: 4 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.109, allocations: 15.98 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1094, allocations: 284.8 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1095, allocations: 54.69 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.1096, allocations: 24.84 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1096, allocations: 4 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.1098, allocations: 67.23 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1098, allocations: 4 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.1104, allocations: 165.4 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1104, allocations: 55.34 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1106, allocations: 177.8 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1106, allocations: 25.7 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1107, allocations: 100.1 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.1107, allocations: 31.62 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1108, allocations: 21.72 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1109, allocations: 330.8 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.111, allocations: 15.98 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1111, allocations: 41.64 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1112, allocations: 57.66 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1112, allocations: 0 / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.1114, allocations: 105.5 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1115, allocations: 4 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1115, allocations: 3.938 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1115, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1116, allocations: 27.92 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1116, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1117, allocations: 8.312 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1117, allocations: 0 / 474.9 MB, free: 8.512 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 9.197e-05/0.1118, allocations: 117.8 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1118, allocations: 19.92 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1119, allocations: 16.72 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1119, allocations: 0 / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1119, allocations: 4 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1119, allocations: 3.938 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1123, allocations: 383.3 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1123, allocations: 4 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.1124, allocations: 7.984 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1124, allocations: 11.97 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1124, allocations: 4 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1124, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1124, allocations: 7.938 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1126, allocations: 192.2 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.1127, allocations: 89 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1127, allocations: 15.94 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1128, allocations: 3.984 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.1128, allocations: 4 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1128, allocations: 4 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1129, allocations: 140.7 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1129, allocations: 0 / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1132, allocations: 20 kB / 475.9 MB, free: 7.375 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.001378/0.1146, allocations: 1.109 MB / 477 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1148, allocations: 59.92 kB / 477.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1148, allocations: 4 kB / 477.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.1149, allocations: 31.92 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1152, allocations: 19.98 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1168, allocations: 1.601 MB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1171, allocations: 0.7041 MB / 479.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.1171, allocations: 25.11 kB / 479.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.1172, allocations: 31.42 kB / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1172, allocations: 0 / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1362, allocations: 3.236 MB / 482.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.66, allocations: 15.16 kB / 482.7 MB, free: 0.668 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches