Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001129/0.001129, allocations: 101.2 kB / 17.2 MB, free: 6.297 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.001373/0.001373, allocations: 194 kB / 18.12 MB, free: 5.391 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.345/1.345, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.1763/0.1763, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 63.72 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1016, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002541/0.1042, allocations: 1.761 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1053, allocations: 0.8576 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.1053, allocations: 11.88 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1055, allocations: 39.88 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1057, allocations: 47.83 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1059, allocations: 102.8 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.106, allocations: 91.77 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.1061, allocations: 16.22 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.1062, allocations: 39.78 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.1062, allocations: 31.84 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1062, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.1063, allocations: 36 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1064, allocations: 35.77 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1064, allocations: 31.75 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1066, allocations: 123.9 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1066, allocations: 0 / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1066, allocations: 0 / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1066, allocations: 0 / 471.9 MB, free: 11.52 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.0004274/0.1071, allocations: 422.9 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.1071, allocations: 8.031 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1071, allocations: 42.73 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.1072, allocations: 12.75 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1074, allocations: 224.5 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1074, allocations: 384 / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1074, allocations: 7.938 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1075, allocations: 53.67 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1075, allocations: 0 / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1075, allocations: 0 / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1076, allocations: 4 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.1076, allocations: 15.98 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1079, allocations: 308.7 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.1081, allocations: 54.67 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.1081, allocations: 16.86 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1082, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1083, allocations: 75.38 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1083, allocations: 3.938 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004429/0.1088, allocations: 165.3 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1088, allocations: 51.41 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.109, allocations: 238.4 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.109, allocations: 25.7 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1091, allocations: 104.1 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1091, allocations: 31.62 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1091, allocations: 29.72 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.1092, allocations: 322.8 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.1093, allocations: 27.92 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.1094, allocations: 37.64 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1095, allocations: 61.77 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1095, allocations: 3.938 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.1097, allocations: 97.59 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1097, allocations: 10.81 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.1097, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.1097, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.1098, allocations: 20.3 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1098, allocations: 4 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.1098, allocations: 3.938 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1098, allocations: 12 kB / 474.3 MB, free: 8.832 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.214e-05/0.1099, allocations: 129.9 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.1099, allocations: 11.81 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.11, allocations: 25.39 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.11, allocations: 0 / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.11, allocations: 0 / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.11, allocations: 7.938 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.1104, allocations: 391.3 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1104, allocations: 0 / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1104, allocations: 16.02 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1104, allocations: 3.938 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1105, allocations: 4 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1105, allocations: 0 / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1105, allocations: 0 / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1107, allocations: 204.1 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.1107, allocations: 85.02 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1108, allocations: 7.938 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1108, allocations: 7.984 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.1109, allocations: 8 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1109, allocations: 4 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.111, allocations: 172.3 kB / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.111, allocations: 0 / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1112, allocations: 24 kB / 475.4 MB, free: 7.648 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.001287/0.1125, allocations: 1.115 MB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1127, allocations: 55.92 kB / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1127, allocations: 0 / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.1128, allocations: 27.98 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1131, allocations: 27.97 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1146, allocations: 1.734 MB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1149, allocations: 0.716 MB / 479 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.1149, allocations: 16.88 kB / 479.1 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.115, allocations: 39.42 kB / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.115, allocations: 0 / 479.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.092/2.207, allocations: 3.296 MB / 482.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/2.207, allocations: 240.9 kB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/3.926, allocations: 0 / 482.6 MB, free: 0.5117 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches