Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001147/0.001147, allocations: 108.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.001243/0.001243, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.514/1.514, 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.2401/0.2401, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.88 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4107, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002937/0.4137, allocations: 1.708 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.4151, allocations: 0.8668 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.4152, allocations: 5.219 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.4155, allocations: 33.83 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.4158, allocations: 59.03 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4161, allocations: 117.3 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4163, allocations: 96.31 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.4164, allocations: 7.688 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.4165, allocations: 41.59 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.4166, allocations: 34 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.4166, allocations: 3.875 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4167, allocations: 42.27 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.4168, allocations: 21.22 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.4168, allocations: 33.05 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.4171, allocations: 114.5 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4171, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4171, allocations: 0 / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.4171, allocations: 1.062 kB / 0.5216 GB, free: 1.234 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.0004882/0.4176, allocations: 412 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4176, allocations: 9.25 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.4177, allocations: 33.38 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.4177, allocations: 13.44 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.418, allocations: 209.4 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.418, allocations: 2.125 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.418, allocations: 6.312 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4182, allocations: 62.44 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4183, allocations: 0.75 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4183, allocations: 0 / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4183, allocations: 1.062 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.4184, allocations: 19.03 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.4187, allocations: 289.1 kB / 0.5226 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4189, allocations: 60.08 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.4189, allocations: 19.48 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.419, allocations: 6 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.4191, allocations: 69.83 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4191, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.4197, allocations: 172.6 kB / 0.5229 GB, free: 16 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.4198, allocations: 57.19 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.42, allocations: 172.7 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.42, allocations: 31.89 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.4201, allocations: 95.14 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4201, allocations: 28.64 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.4201, allocations: 34.38 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4203, allocations: 321.5 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.4203, allocations: 18.53 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.4204, allocations: 38.22 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4205, allocations: 58.2 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4206, allocations: 0 / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.4208, allocations: 110.4 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4208, allocations: 4.797 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4208, allocations: 0.8438 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4208, allocations: 1.344 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.4209, allocations: 19.12 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4209, allocations: 1.062 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.421, allocations: 6.672 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.421, allocations: 4.172 kB / 0.5239 GB, free: 15.19 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.0001078/0.4211, allocations: 133.4 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.4211, allocations: 14.17 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.4212, allocations: 15.08 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.4212, allocations: 1.656 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4212, allocations: 0 / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4212, allocations: 5.875 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.4217, allocations: 387.5 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4217, allocations: 5 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.4218, allocations: 17.03 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4218, allocations: 5.031 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4218, allocations: 6.625 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4218, allocations: 1.125 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4218, allocations: 1.828 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.422, allocations: 200 kB / 0.5246 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.4221, allocations: 88.48 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4222, allocations: 9.984 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.4222, allocations: 4.047 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4223, allocations: 5.281 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4223, allocations: 9.328 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4224, allocations: 133.7 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4224, allocations: 0 / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4227, allocations: 25.86 kB / 0.5249 GB, free: 14.3 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.001489/0.4242, allocations: 1.082 MB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4244, allocations: 60.36 kB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4244, allocations: 0 / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.4245, allocations: 34.31 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4249, allocations: 31.39 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.4268, allocations: 1.623 MB / 0.5277 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4272, allocations: 0.6994 MB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.4272, allocations: 11.5 kB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.4273, allocations: 32.36 kB / 0.5284 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4273, allocations: 0 / 0.5284 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4495, allocations: 3.319 MB / 0.5316 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.911, allocations: 10.06 kB / 0.5316 GB, free: 9.941 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches