Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.002523/0.002524, allocations: 105.8 kB / 16.27 MB, free: 5.93 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.002571/0.002571, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 65.02 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00315/0.1051, allocations: 1.693 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.107, allocations: 1.402 MB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.1071, allocations: 4 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1073, allocations: 43.77 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1076, allocations: 55.7 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1078, allocations: 87.75 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.108, allocations: 95.7 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.1081, allocations: 12.16 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.1082, allocations: 43.78 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1083, allocations: 39.84 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1084, allocations: 8 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1085, allocations: 59.97 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1085, allocations: 27.84 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1086, allocations: 27.81 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1088, allocations: 115.7 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1088, allocations: 0 / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1088, allocations: 0 / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1088, allocations: 3.938 kB / 444.3 MB, free: 3.055 MB / 318.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.0004453/0.1093, allocations: 399 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1093, allocations: 15.89 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.1094, allocations: 38.73 kB / 444.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.1094, allocations: 8.844 kB / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1096, allocations: 209.3 kB / 445 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1096, allocations: 4.375 kB / 445 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1097, allocations: 7.938 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1098, allocations: 67.38 kB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1098, allocations: 4 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1099, allocations: 4 kB / 445.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1099, allocations: 0 / 445.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.11, allocations: 19.98 kB / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1103, allocations: 284.8 kB / 445.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1105, allocations: 58.67 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.1105, allocations: 20.86 kB / 445.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1105, allocations: 4 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1107, allocations: 75.27 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1107, allocations: 0 / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.1113, allocations: 169.3 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1113, allocations: 81.05 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1115, allocations: 168.8 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1115, allocations: 25.7 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.1115, allocations: 96.12 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1116, allocations: 27.64 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1116, allocations: 29.7 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.1117, allocations: 318.8 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1117, allocations: 15.98 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.1118, allocations: 46.56 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.112, allocations: 61.64 kB / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.112, allocations: 4 kB / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002096/0.1122, allocations: 93.5 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1122, allocations: 4 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1122, allocations: 0 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1123, allocations: 4 kB / 446.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1124, allocations: 23.92 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1124, allocations: 4.062 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.1124, allocations: 7.938 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1125, allocations: 0 / 446.7 MB, free: 456 kB / 318.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 6.926e-05/0.1125, allocations: 129.8 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1126, allocations: 7.906 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.1126, allocations: 12.72 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1126, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1126, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1127, allocations: 7.938 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1131, allocations: 391.3 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1132, allocations: 0 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1132, allocations: 8 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1132, allocations: 3.938 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1132, allocations: 4 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1133, allocations: 11.92 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1133, allocations: 0 / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.1136, allocations: 196.3 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1136, allocations: 84.95 kB / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.1137, allocations: 12.31 kB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1138, allocations: 192 / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1139, allocations: 11.97 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1139, allocations: 11.94 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.114, allocations: 123.2 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.114, allocations: 0 / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.1145, allocations: 32 kB / 447.7 MB, free: 15.3 MB / 334.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.001489/0.116, allocations: 1.127 MB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1162, allocations: 67.89 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1162, allocations: 7.938 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.1163, allocations: 27.92 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1166, allocations: 29.45 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1182, allocations: 1.547 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1185, allocations: 0.6964 MB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.1185, allocations: 21.33 kB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.1186, allocations: 35.42 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1186, allocations: 0 / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.1914, allocations: 3.46 MB / 454.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.106, allocations: 15.88 kB / 454.7 MB, free: 8.191 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches