Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.0015/0.001499, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001648/0.001649, allocations: 180.9 kB / 18.71 MB, free: 4.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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1959/0.1959, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 470.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002747/0.3122, allocations: 1.889 MB / 0.5204 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3139, allocations: 0.9924 MB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.314, allocations: 5.031 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.3146, allocations: 255.5 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.315, allocations: 185 kB / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.3154, allocations: 179.8 kB / 0.5219 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.3157, allocations: 259.9 kB / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3158, allocations: 26.94 kB / 0.5222 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.316, allocations: 131.4 kB / 0.5223 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3162, allocations: 182.7 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3162, allocations: 8.094 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3164, allocations: 62.14 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.3164, allocations: 68.12 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.3165, allocations: 90.86 kB / 0.5227 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3168, allocations: 247.6 kB / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3168, allocations: 0 / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3168, allocations: 0 / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3169, allocations: 0 / 0.523 GB, free: 0.6953 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006219/0.3175, allocations: 0.5781 MB / 0.5235 GB, free: 180 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3175, allocations: 10.52 kB / 0.5235 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.3176, allocations: 42.69 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.3176, allocations: 34.03 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.318, allocations: 294.1 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.318, allocations: 5.016 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.318, allocations: 13.22 kB / 0.5239 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3183, allocations: 107.3 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3183, allocations: 6 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3183, allocations: 0.5625 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3183, allocations: 5.969 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3185, allocations: 45.69 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.319, allocations: 487.2 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.3194, allocations: 125.1 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3195, allocations: 41.11 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3195, allocations: 2.453 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.3197, allocations: 121.6 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3197, allocations: 0 / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001239/0.321, allocations: 0.5121 MB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.321, allocations: 79.86 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.3215, allocations: 481.5 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3215, allocations: 32.27 kB / 0.5259 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3216, allocations: 165.5 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.3217, allocations: 68.88 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.3218, allocations: 44.31 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3219, allocations: 349.1 kB / 0.5265 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.322, allocations: 55.94 kB / 0.5265 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3222, allocations: 97.88 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3225, allocations: 166.4 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3225, allocations: 4 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003792/0.3229, allocations: 240.7 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3229, allocations: 6.219 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3229, allocations: 1.406 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3229, allocations: 5.562 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3231, allocations: 40.27 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3231, allocations: 5.938 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.3232, allocations: 13.69 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3232, allocations: 11.41 kB / 0.5271 GB, free: 13.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001449/0.3233, allocations: 166.6 kB / 0.5273 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3234, allocations: 38.83 kB / 0.5273 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.3235, allocations: 42.33 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3235, allocations: 2.75 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3235, allocations: 6.172 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3235, allocations: 0.6562 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.3244, allocations: 0.7329 MB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3244, allocations: 1.156 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.3245, allocations: 40.67 kB / 0.5281 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3245, allocations: 1.156 kB / 0.5281 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3245, allocations: 9.047 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3245, allocations: 2.906 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3245, allocations: 5.344 kB / 0.5281 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.325, allocations: 426 kB / 0.5285 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.3251, allocations: 105.2 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.3251, allocations: 8.062 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3253, allocations: 4.781 kB / 0.5286 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3253, allocations: 25.72 kB / 0.5287 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3253, allocations: 8.5 kB / 0.5287 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.3257, allocations: 367.2 kB / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3257, allocations: 0 / 0.529 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.326, allocations: 48.09 kB / 0.5291 GB, free: 12.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001726/0.3278, allocations: 1.377 MB / 0.5304 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3281, allocations: 166.8 kB / 0.5306 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3281, allocations: 0 / 0.5306 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3283, allocations: 83.16 kB / 0.5306 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.3289, allocations: 67.05 kB / 0.5307 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.332, allocations: 2.94 MB / 0.5336 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3323, allocations: 0.7853 MB / 0.5343 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.3324, allocations: 43.89 kB / 0.5344 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3326, allocations: 94.12 kB / 0.5345 GB, free: 8.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3326, allocations: 7.938 kB / 0.5345 GB, free: 8.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3538, allocations: 6.49 MB / 0.5408 GB, free: 4.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.239, allocations: 8.766 kB / 0.5408 GB, free: 4.805 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches