Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001059/0.001059, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001236/0.001236, allocations: 185 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1954/0.1954, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3704, allocations: 60.81 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003976/0.3744, allocations: 1.94 MB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3764, allocations: 1.047 MB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3766, allocations: 6.188 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.3773, allocations: 203.7 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.3777, allocations: 148.3 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.3784, allocations: 236.6 kB / 0.522 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.3787, allocations: 254.3 kB / 0.5222 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3789, allocations: 23.91 kB / 0.5222 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3791, allocations: 111.1 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.3793, allocations: 104.1 kB / 0.5224 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.3793, allocations: 10.34 kB / 0.5224 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3795, allocations: 58.81 kB / 0.5225 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.3796, allocations: 48.05 kB / 0.5225 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3797, allocations: 86.64 kB / 0.5226 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.3801, allocations: 240.1 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3801, allocations: 0.75 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3801, allocations: 0 / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.3802, allocations: 0 / 0.5229 GB, free: 0.5664 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008869/0.3811, allocations: 0.5543 MB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3811, allocations: 8.906 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.3812, allocations: 37.75 kB / 0.5234 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3813, allocations: 27.84 kB / 0.5235 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.3817, allocations: 284.2 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3817, allocations: 3 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3817, allocations: 4.969 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.382, allocations: 110.7 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.382, allocations: 1.969 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.382, allocations: 4.594 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.382, allocations: 1.656 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3822, allocations: 43.14 kB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.3827, allocations: 371.2 kB / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.3831, allocations: 129.1 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3832, allocations: 45.34 kB / 0.5244 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3832, allocations: 6.422 kB / 0.5244 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.3835, allocations: 115.3 kB / 0.5245 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3835, allocations: 0 / 0.5245 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005016/0.384, allocations: 181.9 kB / 0.5247 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.3841, allocations: 106.5 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.3845, allocations: 333.1 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3845, allocations: 37.77 kB / 0.5252 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3846, allocations: 130.8 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.3847, allocations: 36.31 kB / 0.5253 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.3847, allocations: 30.06 kB / 0.5254 GB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3849, allocations: 336.1 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.385, allocations: 31.64 kB / 0.5257 GB, free: 14.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3851, allocations: 76.97 kB / 0.5258 GB, free: 14.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3853, allocations: 98.64 kB / 0.5259 GB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3853, allocations: 5.312 kB / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003369/0.3857, allocations: 147 kB / 0.526 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3857, allocations: 8.312 kB / 0.526 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3857, allocations: 3.938 kB / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3857, allocations: 2.75 kB / 0.526 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3859, allocations: 21.25 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3859, allocations: 2.359 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.386, allocations: 15.05 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.386, allocations: 4.125 kB / 0.5261 GB, free: 13.96 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001558/0.3862, allocations: 159.2 kB / 0.5262 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3862, allocations: 23.66 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.3863, allocations: 28.03 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3863, allocations: 2.453 kB / 0.5263 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3863, allocations: 5.312 kB / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3863, allocations: 0 / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3866, allocations: 255.7 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3866, allocations: 0.7031 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.3867, allocations: 12.17 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3867, allocations: 1.219 kB / 0.5265 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3867, allocations: 6.719 kB / 0.5265 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3867, allocations: 5.938 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3867, allocations: 0 / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.3871, allocations: 184.1 kB / 0.5267 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.3872, allocations: 97.81 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.3872, allocations: 5.984 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.3873, allocations: 6.781 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.3874, allocations: 19.64 kB / 0.5269 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3874, allocations: 5.719 kB / 0.5269 GB, free: 13.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.3877, allocations: 245.1 kB / 0.5271 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3877, allocations: 0 / 0.5271 GB, free: 13.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.3881, allocations: 40.02 kB / 0.5271 GB, free: 13.18 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001588/0.3896, allocations: 1.035 MB / 0.5281 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3899, allocations: 89.8 kB / 0.5282 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.39, allocations: 1.375 kB / 0.5282 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3901, allocations: 47.84 kB / 0.5283 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.3905, allocations: 70.38 kB / 0.5283 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.3936, allocations: 2.279 MB / 0.5306 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3939, allocations: 0.7468 MB / 0.5313 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.3941, allocations: 41.02 kB / 0.5313 GB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3942, allocations: 60.8 kB / 0.5314 GB, free: 9.887 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3942, allocations: 0 / 0.5314 GB, free: 9.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.4189, allocations: 5.635 MB / 0.5369 GB, free: 6.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.873, allocations: 12.55 kB / 0.5369 GB, free: 6.969 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches