Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.00214/0.00214, allocations: 109.3 kB / 15.98 MB, free: 5.906 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.002461/0.002461, allocations: 194.2 kB / 16.91 MB, free: 5.758 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.706/1.706, allocations: 205.1 MB / 222.7 MB, free: 12.43 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.2209/0.2209, allocations: 43.52 MB / 313.6 MB, free: 0.6914 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.001596/0.001596, allocations: 68.53 kB / 382.3 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1006, allocations: 57.78 MB / 440.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002836/0.1034, allocations: 1.748 MB / 441.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1053, allocations: 1.379 MB / 443.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.1054, allocations: 3.938 kB / 443.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.1058, allocations: 35.89 kB / 443.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1061, allocations: 47.84 kB / 443.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1064, allocations: 78.58 kB / 443.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1065, allocations: 95.7 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1067, allocations: 20.17 kB / 443.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.1067, allocations: 47.72 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1069, allocations: 35.83 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1069, allocations: 4 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.107, allocations: 59.97 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.1071, allocations: 19.92 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.1071, allocations: 35.73 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1073, allocations: 111.8 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1074, allocations: 3.938 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1074, allocations: 4 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1074, allocations: 3.984 kB / 443.8 MB, free: 3.477 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.0005648/0.1079, allocations: 403 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.108, allocations: 11.89 kB / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.108, allocations: 38.73 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.1081, allocations: 8.844 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1083, allocations: 197.2 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1083, allocations: 384 / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1084, allocations: 19.92 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1085, allocations: 67.33 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1086, allocations: 0 / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1086, allocations: 4 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1086, allocations: 0 / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.1087, allocations: 15.98 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.109, allocations: 288.8 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1092, allocations: 62.62 kB / 444.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.1093, allocations: 32.7 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1093, allocations: 4 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1095, allocations: 63.39 kB / 445 MB, free: 2.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1095, allocations: 4 kB / 445 MB, free: 2.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.11, allocations: 173.3 kB / 445.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1101, allocations: 77.11 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1102, allocations: 160.8 kB / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1102, allocations: 29.7 kB / 445.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1103, allocations: 92.14 kB / 445.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1103, allocations: 27.64 kB / 445.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1103, allocations: 21.72 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.1104, allocations: 330.8 kB / 445.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.1105, allocations: 19.98 kB / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.1105, allocations: 42.56 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.1106, allocations: 61.69 kB / 446 MB, free: 1.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1106, allocations: 0 / 446 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001505/0.1108, allocations: 105.5 kB / 446.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1108, allocations: 4 kB / 446.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1108, allocations: 0 / 446.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1108, allocations: 0 / 446.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.1109, allocations: 19.98 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1109, allocations: 3.938 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.111, allocations: 11.94 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.111, allocations: 0 / 446.2 MB, free: 0.8672 MB / 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.628e-05/0.1111, allocations: 125.8 kB / 446.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1111, allocations: 11.94 kB / 446.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.1111, allocations: 12.72 kB / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1111, allocations: 0 / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1112, allocations: 0 / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1112, allocations: 3.938 kB / 446.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.1115, allocations: 391.3 kB / 446.7 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1115, allocations: 4 kB / 446.7 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.1115, allocations: 4.031 kB / 446.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1115, allocations: 11.94 kB / 446.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1116, allocations: 0 / 446.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1116, allocations: 0 / 446.7 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1116, allocations: 8.125 kB / 446.7 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1118, allocations: 200.5 kB / 446.9 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1118, allocations: 88.95 kB / 447 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1119, allocations: 15.94 kB / 447 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1119, allocations: 0 / 447 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.112, allocations: 8.359 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.112, allocations: 4 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.1121, allocations: 115.2 kB / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1121, allocations: 0 / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1124, allocations: 28 kB / 447.2 MB, free: 15.74 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.001549/0.1139, allocations: 1.155 MB / 448.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1141, allocations: 59.91 kB / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1141, allocations: 0 / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.1142, allocations: 24 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1146, allocations: 33.94 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1163, allocations: 1.575 MB / 450 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1166, allocations: 0.7002 MB / 450.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.1166, allocations: 12.89 kB / 450.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1167, allocations: 35.41 kB / 450.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1167, allocations: 3.938 kB / 450.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1305, allocations: 3.374 MB / 454.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1308, allocations: 247.3 kB / 454.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.927, allocations: 0 / 454.4 MB, free: 8.449 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches