Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.00123/0.00123, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001207/0.001207, allocations: 183 kB / 18.72 MB, free: 4.336 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.414/1.414, 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.2153/0.2153, allocations: 44.19 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.91 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002717/0.3349, allocations: 1.7 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3361, allocations: 0.8739 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.3361, allocations: 1.25 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.3364, allocations: 32.86 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.3366, allocations: 56.98 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3369, allocations: 109.5 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3371, allocations: 96.44 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.3372, allocations: 7.531 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.3373, allocations: 45.34 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.3374, allocations: 25.73 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3374, allocations: 3.375 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.3375, allocations: 47.2 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.3375, allocations: 20.53 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3376, allocations: 28.7 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3378, allocations: 110.6 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3378, allocations: 1.156 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3378, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3378, allocations: 0 / 0.5216 GB, free: 1.223 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.0004391/0.3383, allocations: 404.6 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3383, allocations: 9.188 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.3384, allocations: 33.31 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3384, allocations: 13.42 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3386, allocations: 215.8 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3386, allocations: 1.766 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3387, allocations: 2.594 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3388, allocations: 61.78 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3388, allocations: 0 / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3388, allocations: 1.641 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3388, allocations: 0 / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.3389, allocations: 19.14 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.3392, allocations: 287.2 kB / 0.5226 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3394, allocations: 64.48 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.3394, allocations: 20.77 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3395, allocations: 1.281 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.3396, allocations: 73.06 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.3396, allocations: 3.984 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004789/0.3401, allocations: 163.9 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.3402, allocations: 61.5 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3404, allocations: 163.9 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3404, allocations: 26.98 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.3405, allocations: 105.8 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3405, allocations: 25.8 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3405, allocations: 22.3 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3407, allocations: 321.6 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.3408, allocations: 21.59 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.3408, allocations: 38.31 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.341, allocations: 58.75 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.341, allocations: 4 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3412, allocations: 100.6 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3412, allocations: 5.438 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3412, allocations: 5.766 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3413, allocations: 1.469 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.3413, allocations: 15.44 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3414, allocations: 0 / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.3414, allocations: 3.891 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3414, allocations: 6.562 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.0001105/0.3415, allocations: 127.2 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3416, allocations: 8.047 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.3416, allocations: 23.33 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3416, allocations: 0.7031 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3416, allocations: 1.344 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3416, allocations: 0.6562 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3422, allocations: 395.2 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3422, allocations: 4.031 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.3422, allocations: 12.92 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3422, allocations: 1.156 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3422, allocations: 2.922 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3423, allocations: 2.719 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3423, allocations: 0 / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3426, allocations: 212.6 kB / 0.5246 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.3426, allocations: 83.66 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3427, allocations: 3.047 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3427, allocations: 3.672 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3428, allocations: 10.16 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3428, allocations: 3.672 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3429, allocations: 121.6 kB / 0.5248 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 0 / 0.5248 GB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3432, allocations: 25.58 kB / 0.5248 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.002111/0.3453, allocations: 1.108 MB / 0.5259 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.3455, allocations: 55.67 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3455, allocations: 1.062 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.3456, allocations: 27.53 kB / 0.526 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.0003367/0.3459, allocations: 27.47 kB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3479, allocations: 1.571 MB / 0.5276 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3482, allocations: 0.7018 MB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.3483, allocations: 16.83 kB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3484, allocations: 37.64 kB / 0.5283 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3484, allocations: 1.406 kB / 0.5283 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3736, allocations: 3.261 MB / 0.5315 GB, free: 9.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.27, allocations: 12.55 kB / 0.5315 GB, free: 9.984 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches