Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.0007906/0.0007906, allocations: 95.58 kB / 17.35 MB, free: 6.375 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.0009221/0.0009222, allocations: 175.3 kB / 18.26 MB, free: 5.52 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.322/1.322, allocations: 223.3 MB / 242.3 MB, free: 224 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.1855/0.1855, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001912/0.1074, allocations: 1.433 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1087, allocations: 0.8459 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1088, allocations: 3.938 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1091, allocations: 91.83 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1093, allocations: 67.8 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1096, allocations: 99.62 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1097, allocations: 107.7 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.1098, allocations: 15.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.1099, allocations: 47.78 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1101, allocations: 67.75 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1101, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1102, allocations: 59.92 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1103, allocations: 27.89 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.1103, allocations: 53.45 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1105, allocations: 135.8 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1105, allocations: 0 / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1106, allocations: 0 / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1106, allocations: 0 / 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.0004962/0.1111, allocations: 413.3 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1111, allocations: 12.03 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1112, allocations: 34.75 kB / 475.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.1112, allocations: 12.75 kB / 475.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1114, allocations: 228.4 kB / 476.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1115, allocations: 8.312 kB / 476.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1115, allocations: 7.938 kB / 476.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1116, allocations: 57.67 kB / 476.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1116, allocations: 0 / 476.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.1117, allocations: 4 kB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1117, allocations: 3.984 kB / 476.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.1117, allocations: 19.98 kB / 476.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1121, allocations: 308.6 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1123, allocations: 62.55 kB / 476.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.1124, allocations: 20.98 kB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1124, allocations: 4 kB / 476.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1126, allocations: 75.31 kB / 476.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1126, allocations: 0 / 476.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006847/0.1133, allocations: 233.2 kB / 476.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1133, allocations: 55.34 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1135, allocations: 230.6 kB / 477.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1136, allocations: 29.7 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.1136, allocations: 116 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1137, allocations: 35.55 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1137, allocations: 13.72 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.1138, allocations: 322.8 kB / 477.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.1139, allocations: 31.98 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.114, allocations: 53.64 kB / 477.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1141, allocations: 81.69 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1141, allocations: 4 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002011/0.1143, allocations: 125.4 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1143, allocations: 4 kB / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1143, allocations: 0 / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1144, allocations: 0 / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.1144, allocations: 31.95 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1145, allocations: 4 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1145, allocations: 4 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1145, allocations: 4 kB / 478 MB, free: 7.332 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 0.0001039/0.1146, allocations: 133.8 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1147, allocations: 15.83 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1147, allocations: 26.09 kB / 478.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1147, allocations: 3.938 kB / 478.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1147, allocations: 4 kB / 478.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1147, allocations: 4 kB / 478.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1153, allocations: 455.9 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1153, allocations: 0 / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.1153, allocations: 12 kB / 478.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1153, allocations: 4 kB / 478.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1154, allocations: 4 kB / 478.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1154, allocations: 8.062 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1154, allocations: 0 / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1156, allocations: 232.9 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1157, allocations: 85.02 kB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1157, allocations: 11.98 kB / 479 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1158, allocations: 8 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1159, allocations: 11.92 kB / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1159, allocations: 8 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.116, allocations: 164.3 kB / 479.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1161, allocations: 0 / 479.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1163, allocations: 39.98 kB / 479.2 MB, free: 6.016 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.001808/0.1182, allocations: 1.183 MB / 480.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1184, allocations: 75.91 kB / 480.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1185, allocations: 0 / 480.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.1185, allocations: 39.92 kB / 480.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1189, allocations: 34.67 kB / 480.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1209, allocations: 1.835 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1212, allocations: 0.7197 MB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.1212, allocations: 28.56 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1213, allocations: 39.42 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1213, allocations: 0 / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.1346, allocations: 3.396 MB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.1349, allocations: 245.8 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.858, allocations: 0 / 486.8 MB, free: 14.59 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches