Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001841/0.001841, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.002105/0.002105, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2128/0.2128, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3147, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002724/0.3175, allocations: 1.802 MB / 0.5203 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3194, allocations: 1.558 MB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.3195, allocations: 5.125 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.3198, allocations: 48.69 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.3201, allocations: 89.52 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.3205, allocations: 171.8 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3207, allocations: 183.6 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.3208, allocations: 9.5 kB / 0.5223 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3209, allocations: 80.84 kB / 0.5223 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3211, allocations: 68.95 kB / 0.5224 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3211, allocations: 7.438 kB / 0.5224 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3213, allocations: 61.84 kB / 0.5225 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.3213, allocations: 35.8 kB / 0.5225 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.3214, allocations: 58.64 kB / 0.5226 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.3217, allocations: 168.4 kB / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3217, allocations: 0.7031 kB / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3217, allocations: 0 / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3217, allocations: 1 kB / 0.5227 GB, free: 460 kB / 382.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.0005608/0.3223, allocations: 475.7 kB / 0.5232 GB, free: 4 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3223, allocations: 9.656 kB / 0.5232 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.3224, allocations: 37.66 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.3225, allocations: 24.34 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3228, allocations: 245.1 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3229, allocations: 2.969 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3229, allocations: 7.172 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3231, allocations: 98.81 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3231, allocations: 0 / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3232, allocations: 5.375 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3232, allocations: 5.844 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3233, allocations: 29.08 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.3236, allocations: 209.4 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3239, allocations: 113 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.324, allocations: 38.78 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3241, allocations: 5.922 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3243, allocations: 118.2 kB / 0.5241 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3243, allocations: 0 / 0.5241 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004809/0.3248, allocations: 163.4 kB / 0.5242 GB, free: 15.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.3249, allocations: 131.9 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3252, allocations: 214.4 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3252, allocations: 30.83 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3253, allocations: 110.8 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3254, allocations: 26.7 kB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3254, allocations: 33.66 kB / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3256, allocations: 328.5 kB / 0.5251 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.3257, allocations: 27.77 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3258, allocations: 76.28 kB / 0.5252 GB, free: 14.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3261, allocations: 92.42 kB / 0.5253 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3261, allocations: 3.938 kB / 0.5253 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.3264, allocations: 136 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3264, allocations: 5.203 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3264, allocations: 1.531 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3264, allocations: 1.562 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3265, allocations: 24.31 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3266, allocations: 2.453 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.3266, allocations: 18.28 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3267, allocations: 4.562 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000119/0.3268, allocations: 134.9 kB / 0.5256 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3268, allocations: 20.72 kB / 0.5256 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.3269, allocations: 17.11 kB / 0.5256 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3269, allocations: 2.438 kB / 0.5256 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3269, allocations: 4.703 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3269, allocations: 1.906 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3271, allocations: 222.6 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3271, allocations: 0 / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.3272, allocations: 7.797 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3272, allocations: 1.406 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3272, allocations: 7.641 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3272, allocations: 0.6094 kB / 0.5259 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3272, allocations: 5.469 kB / 0.5259 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3275, allocations: 167.9 kB / 0.526 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.3276, allocations: 94.83 kB / 0.5261 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3277, allocations: 10.66 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.3277, allocations: 8.797 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3278, allocations: 6.672 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3278, allocations: 10.84 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.328, allocations: 155.7 kB / 0.5263 GB, free: 13.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.328, allocations: 4 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3283, allocations: 37.33 kB / 0.5263 GB, free: 13.39 MB / 398.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002342/0.3306, allocations: 1.052 MB / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3309, allocations: 82.42 kB / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3309, allocations: 0 / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.331, allocations: 43.84 kB / 0.5275 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3314, allocations: 61.16 kB / 0.5275 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3339, allocations: 1.825 MB / 0.5293 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3342, allocations: 0.7135 MB / 0.53 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.3343, allocations: 30.06 kB / 0.53 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3344, allocations: 56.41 kB / 0.5301 GB, free: 10.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3344, allocations: 0 / 0.5301 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3639, allocations: 4.694 MB / 0.5347 GB, free: 8.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.324, allocations: 16.62 kB / 0.5347 GB, free: 8 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches