Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001087/0.001087, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001129/0.001129, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1977/0.1977, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 64.14 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3192, allocations: 60.82 MB / 0.5185 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002731/0.3219, allocations: 1.802 MB / 0.5202 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3238, allocations: 1.555 MB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.3239, allocations: 8.969 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.3242, allocations: 49.45 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.3245, allocations: 94.14 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3248, allocations: 166.8 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3251, allocations: 184 kB / 0.5222 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.3251, allocations: 10.3 kB / 0.5223 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3253, allocations: 86.45 kB / 0.5223 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3254, allocations: 69.08 kB / 0.5224 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3255, allocations: 7.094 kB / 0.5224 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3256, allocations: 65.8 kB / 0.5225 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.3257, allocations: 33.52 kB / 0.5225 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.3257, allocations: 56.78 kB / 0.5226 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.326, allocations: 169.1 kB / 0.5227 GB, free: 436 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.326, allocations: 2.078 kB / 0.5227 GB, free: 436 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.326, allocations: 0 / 0.5227 GB, free: 436 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.326, allocations: 0 / 0.5227 GB, free: 436 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.0005404/0.3266, allocations: 476.2 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3266, allocations: 9.719 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3267, allocations: 37.39 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.3267, allocations: 17.09 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.327, allocations: 244 kB / 0.5235 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3271, allocations: 6.312 kB / 0.5235 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3271, allocations: 8.031 kB / 0.5235 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3273, allocations: 98.86 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3273, allocations: 7.984 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3274, allocations: 1.609 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3274, allocations: 1.031 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3275, allocations: 29.25 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.3277, allocations: 209.9 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.328, allocations: 112.8 kB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.3281, allocations: 38.91 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3282, allocations: 6.984 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3284, allocations: 117 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3284, allocations: 0 / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004536/0.3289, allocations: 165.1 kB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.3289, allocations: 131.3 kB / 0.5244 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3292, allocations: 221.8 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3292, allocations: 26.91 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3293, allocations: 115.7 kB / 0.5247 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3293, allocations: 30.41 kB / 0.5247 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.3294, allocations: 29.12 kB / 0.5248 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3295, allocations: 329 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.3296, allocations: 26.56 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3297, allocations: 72.48 kB / 0.5252 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.3299, allocations: 88.25 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.33, allocations: 3.938 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002712/0.3302, allocations: 138.6 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3303, allocations: 5.953 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3303, allocations: 2.562 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3303, allocations: 5.344 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3304, allocations: 20.58 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3304, allocations: 1.906 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.3305, allocations: 18.48 kB / 0.5254 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3305, allocations: 11.86 kB / 0.5255 GB, free: 14.07 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.0001165/0.3307, allocations: 131.5 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.3307, allocations: 16.73 kB / 0.5256 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.3308, allocations: 17.42 kB / 0.5256 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3308, allocations: 5.406 kB / 0.5256 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3308, allocations: 2.422 kB / 0.5256 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3308, allocations: 0 / 0.5256 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.331, allocations: 222.8 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.331, allocations: 1.094 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.331, allocations: 8.078 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.331, allocations: 1.031 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.331, allocations: 3.359 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3311, allocations: 0.9062 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3311, allocations: 5.828 kB / 0.5259 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3314, allocations: 172.2 kB / 0.526 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.3314, allocations: 98.02 kB / 0.5261 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3315, allocations: 2.906 kB / 0.5261 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.3316, allocations: 10.03 kB / 0.5261 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3316, allocations: 10.78 kB / 0.5261 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3316, allocations: 4.688 kB / 0.5261 GB, free: 13.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3318, allocations: 164.8 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3318, allocations: 0 / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3321, allocations: 40.64 kB / 0.5263 GB, free: 13.36 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.001439/0.3335, allocations: 1.048 MB / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3337, allocations: 80.48 kB / 0.5274 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3338, allocations: 1.375 kB / 0.5274 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3339, allocations: 43.84 kB / 0.5275 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3343, allocations: 59.25 kB / 0.5275 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3363, allocations: 1.818 MB / 0.5293 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3365, allocations: 0.7173 MB / 0.53 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.3366, allocations: 36.69 kB / 0.53 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.3367, allocations: 49.77 kB / 0.5301 GB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3367, allocations: 3.938 kB / 0.5301 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.3573, allocations: 4.697 MB / 0.5347 GB, free: 7.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.872, allocations: 12.83 kB / 0.5347 GB, free: 7.961 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_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_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches