Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.0008079/0.000808, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009501/0.0009499, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.335/1.335, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.1925/0.1925, allocations: 44.26 MB / 337.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 15.09 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1033, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002037/0.1054, allocations: 1.433 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1067, allocations: 0.8577 MB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.1068, allocations: 0 / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1071, allocations: 87.77 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1073, allocations: 71.78 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1075, allocations: 99.02 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1077, allocations: 107.7 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.1078, allocations: 19.98 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.1079, allocations: 47.78 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.108, allocations: 59.75 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.108, allocations: 4 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1082, allocations: 51.97 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1082, allocations: 31.84 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.1083, allocations: 57.45 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1085, allocations: 135.8 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1085, allocations: 4 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1085, allocations: 4 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1085, allocations: 3.938 kB / 475.4 MB, free: 10.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004752/0.109, allocations: 407.1 kB / 475.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.109, allocations: 12.03 kB / 475.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1091, allocations: 30.75 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.1091, allocations: 12.75 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1093, allocations: 224.4 kB / 476.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1093, allocations: 4.375 kB / 476.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1094, allocations: 7.938 kB / 476.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1095, allocations: 61.66 kB / 476.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1095, allocations: 0 / 476.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1095, allocations: 8 kB / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1096, allocations: 0 / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.1096, allocations: 23.97 kB / 476.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.11, allocations: 304.7 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1102, allocations: 62.56 kB / 476.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1103, allocations: 20.97 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1103, allocations: 0 / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1105, allocations: 67.39 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.1105, allocations: 0 / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000717/0.1112, allocations: 245.5 kB / 476.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1113, allocations: 59.34 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1115, allocations: 222.6 kB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1115, allocations: 33.7 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1115, allocations: 108 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1116, allocations: 31.55 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1116, allocations: 17.72 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1117, allocations: 326.8 kB / 477.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.1118, allocations: 31.98 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.1119, allocations: 49.64 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.112, allocations: 77.64 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.112, allocations: 0 / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001987/0.1122, allocations: 125.5 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1122, allocations: 8 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1123, allocations: 4.266 kB / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.1123, allocations: 0 / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1124, allocations: 31.86 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1124, allocations: 3.984 kB / 478 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1124, allocations: 8 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1124, allocations: 4 kB / 478 MB, free: 7.348 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 (13): * Single equations (assignments): 13 * 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.785e-05/0.1125, allocations: 137.8 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.1126, allocations: 7.906 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1126, allocations: 25.39 kB / 478.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1126, allocations: 11.86 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1126, allocations: 0 / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1127, allocations: 4 kB / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.1132, allocations: 451.9 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1132, allocations: 3.984 kB / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.1133, allocations: 15.94 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1133, allocations: 8.062 kB / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1133, allocations: 0 / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1133, allocations: 0 / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1133, allocations: 4 kB / 478.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1135, allocations: 229 kB / 478.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1136, allocations: 96.95 kB / 479 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1136, allocations: 7.984 kB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1137, allocations: 7.938 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1137, allocations: 11.98 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1138, allocations: 4 kB / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1139, allocations: 168.3 kB / 479.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1139, allocations: 0 / 479.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1142, allocations: 31.98 kB / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001487/0.1157, allocations: 1.183 MB / 480.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1159, allocations: 83.84 kB / 480.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1159, allocations: 4.062 kB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.1159, allocations: 39.92 kB / 480.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1163, allocations: 23.98 kB / 480.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1181, allocations: 1.844 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1184, allocations: 0.7236 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1185, allocations: 16.64 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.1185, allocations: 43.41 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1186, allocations: 0 / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.1315, allocations: 3.398 MB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.1317, allocations: 241.9 kB / 486.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.893, allocations: 0 / 486.8 MB, free: 14.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches