Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001075/0.001075, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001772/0.001772, allocations: 179.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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2033/0.2033, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.12 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3283, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002764/0.3311, allocations: 1.739 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3324, allocations: 0.8724 MB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.3324, allocations: 1.188 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.3328, allocations: 104.8 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3332, allocations: 86.5 kB / 0.5213 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.3335, allocations: 109.8 kB / 0.5214 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3337, allocations: 117.1 kB / 0.5215 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.3338, allocations: 20.19 kB / 0.5215 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.3339, allocations: 59.33 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3341, allocations: 59.42 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3341, allocations: 4.219 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3342, allocations: 67.08 kB / 0.5217 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.3343, allocations: 21.53 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.3343, allocations: 43.44 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3346, allocations: 150 kB / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3346, allocations: 0 / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3346, allocations: 0 / 0.5219 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3346, allocations: 1.125 kB / 0.5219 GB, free: 1.168 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005505/0.3352, allocations: 440.9 kB / 0.5223 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3353, allocations: 9 kB / 0.5223 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3353, allocations: 41.28 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3353, allocations: 15.5 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3356, allocations: 222.6 kB / 0.5226 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3356, allocations: 5.562 kB / 0.5226 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3357, allocations: 11.5 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3359, allocations: 58 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3359, allocations: 4 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3359, allocations: 1.516 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3359, allocations: 1.25 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.336, allocations: 28.72 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.3365, allocations: 303.3 kB / 0.523 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.3368, allocations: 60.02 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3368, allocations: 24.97 kB / 0.523 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3369, allocations: 1.828 kB / 0.5231 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3371, allocations: 71.94 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3371, allocations: 0 / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008387/0.338, allocations: 245.4 kB / 0.5234 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.338, allocations: 61.47 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.3383, allocations: 235.1 kB / 0.5236 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3383, allocations: 31.64 kB / 0.5237 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.3384, allocations: 106.1 kB / 0.5238 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.3385, allocations: 40.95 kB / 0.5238 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3385, allocations: 23.59 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3386, allocations: 329.2 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.3387, allocations: 26.62 kB / 0.5242 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.3388, allocations: 48.09 kB / 0.5242 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.339, allocations: 83.84 kB / 0.5243 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.339, allocations: 0 / 0.5243 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002556/0.3393, allocations: 129.3 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3393, allocations: 6.859 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.3393, allocations: 0 / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3393, allocations: 2.188 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.3394, allocations: 26.86 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3394, allocations: 2.219 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3395, allocations: 7.625 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3395, allocations: 3.203 kB / 0.5245 GB, free: 15 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 (13): * Single equations (assignments): 13 * 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.0001204/0.3396, allocations: 143.9 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3397, allocations: 15.38 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.3397, allocations: 24.06 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3398, allocations: 5.688 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3398, allocations: 4 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3398, allocations: 0.6094 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.3404, allocations: 458.3 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3404, allocations: 2.75 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.3404, allocations: 12.06 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3404, allocations: 2.062 kB / 0.5251 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3404, allocations: 8.422 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3405, allocations: 64 / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3405, allocations: 7.25 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3407, allocations: 234.8 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.3408, allocations: 90.45 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3409, allocations: 3.406 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3409, allocations: 6.078 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.341, allocations: 16.78 kB / 0.5255 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.341, allocations: 8.578 kB / 0.5255 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.3412, allocations: 186.3 kB / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3412, allocations: 0 / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.3415, allocations: 29.91 kB / 0.5257 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001653/0.3431, allocations: 1.182 MB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3434, allocations: 78.28 kB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3434, allocations: 0 / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.3435, allocations: 44.06 kB / 0.5269 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3439, allocations: 41.23 kB / 0.527 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3458, allocations: 1.862 MB / 0.5288 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3461, allocations: 0.7249 MB / 0.5295 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.3462, allocations: 19.16 kB / 0.5295 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3463, allocations: 46.5 kB / 0.5296 GB, free: 10.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3463, allocations: 0 / 0.5296 GB, free: 10.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.3708, allocations: 3.935 MB / 0.5334 GB, free: 9.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.164, allocations: 8.719 kB / 0.5334 GB, free: 9.047 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches