Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001222/0.001222, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001247/0.001248, allocations: 194 kB / 18.12 MB, free: 5.363 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.417/1.417, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.203/0.203, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 69.25 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.0963, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002677/0.099, allocations: 1.76 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1003, allocations: 0.8615 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.1004, allocations: 3.938 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1006, allocations: 47.88 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1008, allocations: 59.75 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1011, allocations: 98.83 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1012, allocations: 91.7 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.1013, allocations: 8.234 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.1014, allocations: 47.77 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.1015, allocations: 27.86 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1015, allocations: 4 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.1016, allocations: 43.97 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.1016, allocations: 31.8 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.1017, allocations: 31.73 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1019, allocations: 119.9 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1019, allocations: 0 / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.1019, allocations: 4 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1019, allocations: 0 / 471.9 MB, free: 11.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004698/0.1024, allocations: 422.9 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1024, allocations: 12.03 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.1024, allocations: 30.75 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1025, allocations: 16.75 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1027, allocations: 220.5 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1027, allocations: 384 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1027, allocations: 7.938 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1028, allocations: 53.67 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1029, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1029, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1029, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.1029, allocations: 23.98 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1033, allocations: 300.7 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1034, allocations: 54.62 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1035, allocations: 24.84 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1035, allocations: 4 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1037, allocations: 67.39 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1037, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.1042, allocations: 177.2 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.1042, allocations: 51.41 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1044, allocations: 230.5 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1045, allocations: 29.7 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1045, allocations: 108.1 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1045, allocations: 23.66 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1046, allocations: 33.64 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.1047, allocations: 322.8 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.1048, allocations: 20 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.1048, allocations: 37.64 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1049, allocations: 65.7 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.105, allocations: 4 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1051, allocations: 101.5 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1052, allocations: 4 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1052, allocations: 4 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1052, allocations: 0 / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.1053, allocations: 12 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1053, allocations: 3.938 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1053, allocations: 11.95 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1053, allocations: 12 kB / 474.3 MB, free: 8.824 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 (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 8.878e-05/0.1054, allocations: 121.8 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1055, allocations: 19.78 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1055, allocations: 17.41 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1055, allocations: 0 / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1055, allocations: 0 / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1055, allocations: 3.938 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.1059, allocations: 407.3 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1059, allocations: 0 / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.106, allocations: 8 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.106, allocations: 3.938 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.106, allocations: 384 / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.106, allocations: 4 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.106, allocations: 0 / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1062, allocations: 220.1 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.1063, allocations: 85.02 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1063, allocations: 3.938 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.1064, allocations: 4 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1064, allocations: 11.98 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1064, allocations: 0 / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1066, allocations: 172.3 kB / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1066, allocations: 0 / 475.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1068, allocations: 31.98 kB / 475.4 MB, free: 7.629 MB / 350.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.001311/0.1082, allocations: 1.101 MB / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1083, allocations: 55.91 kB / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1083, allocations: 0 / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1084, allocations: 27.98 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1087, allocations: 29.81 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1103, allocations: 1.74 MB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1106, allocations: 0.7121 MB / 479 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.1106, allocations: 12.89 kB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.1107, allocations: 39.34 kB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1107, allocations: 4 kB / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.242/3.353, allocations: 3.291 MB / 482.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/3.353, allocations: 238.6 kB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/5.067, allocations: 3.938 kB / 482.6 MB, free: 0.5078 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches