Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007802/0.0007833, allocations: 174.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007409/0.0007409, allocations: 85.41 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3003/0.3003, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001838/0.1025, allocations: 1.398 MB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1037, allocations: 0.7461 MB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.1038, allocations: 0 / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1041, allocations: 55.86 kB / 493.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1043, allocations: 43.81 kB / 493.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1046, allocations: 75.84 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1047, allocations: 83.69 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.1048, allocations: 16.22 kB / 493.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.1049, allocations: 47.77 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.105, allocations: 27.86 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.105, allocations: 4 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.1051, allocations: 35.98 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.1052, allocations: 31.84 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.1052, allocations: 65.38 kB / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1054, allocations: 92.08 kB / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1054, allocations: 0 / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1054, allocations: 0 / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1054, allocations: 0 / 493.6 MB, free: 8.035 MB / 378.7 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.0004861/0.1059, allocations: 430.5 kB / 494.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.106, allocations: 8.031 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.106, allocations: 30.75 kB / 494.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1061, allocations: 16.75 kB / 494.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1063, allocations: 227.7 kB / 494.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1063, allocations: 4.375 kB / 494.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1063, allocations: 7.875 kB / 494.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1065, allocations: 53.67 kB / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1065, allocations: 4 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1065, allocations: 4 kB / 494.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1065, allocations: 0 / 494.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.1066, allocations: 15.98 kB / 494.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.1069, allocations: 296.9 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1071, allocations: 62.62 kB / 494.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1072, allocations: 20.84 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1072, allocations: 0 / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1074, allocations: 67.39 kB / 494.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1074, allocations: 0 / 494.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.1079, allocations: 185 kB / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.108, allocations: 55.41 kB / 495.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1082, allocations: 259.7 kB / 495.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1082, allocations: 29.7 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.1083, allocations: 112.1 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1083, allocations: 31.62 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1083, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1085, allocations: 330.8 kB / 495.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.1085, allocations: 19.98 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.1086, allocations: 37.7 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1087, allocations: 57.72 kB / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1087, allocations: 0 / 496 MB, free: 5.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.1089, allocations: 101.4 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1089, allocations: 8 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1089, allocations: 0 / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1089, allocations: 0 / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.109, allocations: 16.02 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.109, allocations: 11.94 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.1091, allocations: 7.938 kB / 496.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1091, allocations: 4 kB / 496.1 MB, free: 5.332 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.1092, allocations: 141.4 kB / 496.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.1092, allocations: 15.81 kB / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1093, allocations: 17.39 kB / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1093, allocations: 4 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1093, allocations: 3.938 kB / 496.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1093, allocations: 7.938 kB / 496.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1097, allocations: 403.5 kB / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1097, allocations: 0 / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1098, allocations: 8 kB / 496.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1098, allocations: 3.938 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1098, allocations: 4 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1098, allocations: 0 / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1098, allocations: 80 / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.11, allocations: 212.2 kB / 496.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1101, allocations: 92.91 kB / 497 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1101, allocations: 7.938 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1102, allocations: 4.375 kB / 497 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1102, allocations: 7.984 kB / 497 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1103, allocations: 4 kB / 497 MB, free: 4.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1104, allocations: 211 kB / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1104, allocations: 0 / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.1107, allocations: 24 kB / 497.3 MB, free: 4.078 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.1119, allocations: 1.11 MB / 498.4 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1121, allocations: 59.92 kB / 498.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1121, allocations: 0 / 498.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.1122, allocations: 28.11 kB / 498.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1125, allocations: 27.42 kB / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1138, allocations: 0.899 MB / 499.4 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.114, allocations: 0.716 MB / 0.4884 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.1141, allocations: 47.42 kB / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1141, allocations: 0 / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/2.999, allocations: 2.548 MB / 0.4909 GB, free: 42.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches