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.001163/0.001168, allocations: 116.8 kB / 17.78 MB, free: 5.254 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.001214/0.001214, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.409/1.409, 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.218/0.218, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.302, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002541/0.3046, allocations: 1.702 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3058, allocations: 0.8698 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.3059, allocations: 0 / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3062, allocations: 42.78 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3064, allocations: 61.98 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3067, allocations: 117.6 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3068, allocations: 95.47 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.3069, allocations: 15.42 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.307, allocations: 45.2 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.3071, allocations: 25.95 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3071, allocations: 3.656 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.3072, allocations: 43.34 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3073, allocations: 29.16 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3073, allocations: 36.62 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3075, allocations: 120.6 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3076, allocations: 3.938 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3076, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3076, allocations: 5.188 kB / 0.5216 GB, free: 1.195 MB / 382.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.0004684/0.308, allocations: 430.6 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3081, allocations: 11.25 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.3081, allocations: 35.5 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3082, allocations: 10.64 kB / 0.5221 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3084, allocations: 212.1 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3084, allocations: 1.438 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3085, allocations: 11.31 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3086, allocations: 58.09 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3086, allocations: 1.031 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3086, allocations: 4 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3086, allocations: 1.188 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3087, allocations: 18.69 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.309, allocations: 293.6 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3092, allocations: 64.48 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.3093, allocations: 20.67 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3093, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3094, allocations: 66.67 kB / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.3095, allocations: 0 / 0.5228 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.31, allocations: 181.4 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3101, allocations: 60.81 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3103, allocations: 222.5 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3104, allocations: 31.5 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.3104, allocations: 105.4 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3105, allocations: 30.3 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3105, allocations: 22.33 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3107, allocations: 326.6 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.3108, allocations: 18 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.3108, allocations: 43.25 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.311, allocations: 58.61 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.311, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.3112, allocations: 105.9 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3112, allocations: 5.297 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3112, allocations: 5.438 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3112, allocations: 5.562 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3113, allocations: 15.03 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3113, allocations: 4.688 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.3114, allocations: 7.391 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3114, allocations: 3.5 kB / 0.524 GB, free: 15.1 MB / 398.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 0.0001202/0.3115, allocations: 134.4 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.3116, allocations: 14.11 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.3116, allocations: 17.25 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3116, allocations: 1.312 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3116, allocations: 4.609 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3117, allocations: 5.062 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.3122, allocations: 397.5 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3122, allocations: 1.125 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.3122, allocations: 8.969 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.3122, allocations: 5.094 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3123, allocations: 6.875 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3123, allocations: 5.938 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3123, allocations: 4.031 kB / 0.5246 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3125, allocations: 202.2 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.3126, allocations: 84.98 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3127, allocations: 9.828 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.3127, allocations: 2.969 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3128, allocations: 6.375 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3128, allocations: 7.594 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.313, allocations: 175.7 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.313, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3133, allocations: 25.77 kB / 0.5251 GB, free: 14.19 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: 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.002194/0.3155, allocations: 1.104 MB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3157, allocations: 53.11 kB / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3157, allocations: 0 / 0.5262 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.3157, allocations: 36.36 kB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3161, allocations: 35.14 kB / 0.5263 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3182, allocations: 1.723 MB / 0.528 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3186, allocations: 0.7139 MB / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.3187, allocations: 17.14 kB / 0.5287 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.3187, allocations: 39.61 kB / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3187, allocations: 0 / 0.5287 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3465, allocations: 3.54 MB / 0.5322 GB, free: 9.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.423, allocations: 5.406 kB / 0.5322 GB, free: 9.645 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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